# Function cargo::core::compiler::custom_build::insert_warnings_in_build_outputs

source ·

    fn insert_warnings_in_build_outputs(
        build_script_outputs: Arc<Mutex<BuildScriptOutputs>>,
        id: PackageId,
        metadata_hash: Metadata,
        warnings: Vec<String>,
    )

Expand description

When a build script run fails, store only warnings and nuke other outputs, as they are likely broken.