# Function insert_log_messages_in_build_outputs

Source

    fn insert_log_messages_in_build_outputs(
        build_script_outputs: Arc<Mutex<BuildScriptOutputs>>,
        id: PackageId,
        metadata_hash: UnitHash,
        log_messages: Vec<(Severity, String)>,
    )

Expand description

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