configure_pcx_from_compile_output

Function configure_pcx_from_compile_output 

Source
pub fn configure_pcx_from_compile_output(
    pcx: &mut ParsingContext<'_>,
    config: &Config,
    output: &ProjectCompileOutput,
    target_paths: Option<&[PathBuf]>,
) -> Result<()>
Expand description

Configures a [ParsingContext] from a [ProjectCompileOutput] and [SolcVersionedInput].

§Note:

uses output.graph().source_files() and output.artifact_ids() rather than output.sources() because sources aren’t populated when build is skipped when there are no changes in the source code. https://github.com/foundry-rs/foundry/issues/12018