get_solar_sources_from_compile_output

Function get_solar_sources_from_compile_output 

Source
pub fn get_solar_sources_from_compile_output(
    config: &Config,
    output: &ProjectCompileOutput,
    target_paths: Option<&[PathBuf]>,
) -> Result<SolcVersionedInput>
Expand description

Extracts Solar-compatible sources from a [ProjectCompileOutput].

§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