cargo::core::compiler::build_context::target_info

Function rustflags_from_build

source
fn rustflags_from_build(
    gctx: &GlobalContext,
    flag: Flags,
) -> CargoResult<Option<Vec<String>>>
Expand description

Gets compiler flags from [build] section in the config. See extra_args for more.