We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rustflags
profile_rustflags
1 parent 58b22f0 commit b3c9aafCopy full SHA for b3c9aaf
src/cargo/core/compiler/mod.rs
@@ -998,7 +998,7 @@ fn build_base_args(
998
ref panic,
999
incremental,
1000
strip,
1001
- rustflags,
+ rustflags: profile_rustflags,
1002
..
1003
} = unit.profile.clone();
1004
let test = unit.mode.is_any_test();
@@ -1078,9 +1078,7 @@ fn build_base_args(
1078
}
1079
1080
cmd.args(unit.pkg.manifest().lint_rustflags());
1081
- if !rustflags.is_empty() {
1082
- cmd.args(&rustflags);
1083
- }
+ cmd.args(&profile_rustflags);
1084
if let Some(args) = cx.bcx.extra_args_for(unit) {
1085
cmd.args(args);
1086
0 commit comments