cargo::core::compiler

# Function add_custom_flags

source

    fn add_custom_flags(
        cmd: &mut ProcessBuilder,
        build_script_outputs: &BuildScriptOutputs,
        metadata: Option<Metadata>,
    ) -> CargoResult<()>

Expand description

Adds extra rustc flags and environment variables collected from the output of a build-script to the command to execute, include custom environment variables and `cfg`.