Function cargo::core::compiler::build_context::target_info::rustflags_from_target
source ยท fn rustflags_from_target(
gctx: &GlobalContext,
host_triple: &str,
target_cfg: Option<&[Cfg]>,
kind: CompileKind,
flag: Flags
) -> CargoResult<Option<Vec<String>>>
Expand description
Gets compiler flags from [target]
section in the config.
See extra_args
for more.