Skip to main content

save_last_solc_input

Function save_last_solc_input 

Source
pub fn save_last_solc_input(root: &Path, input: &Value) -> Result<(), String>
Expand description

Persist the last solc standard-JSON input to the cache directory so it can be inspected for debugging.

Source entries that use "content" (in-memory editor buffers with unsaved changes) are rewritten to "urls" in the debug file to keep it small. The actual solc invocation still receives the real content.