We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rustc
1 parent d5db7fb commit a4087b7Copy full SHA for a4087b7
src/bootstrap/src/bin/rustc.rs
@@ -220,6 +220,12 @@ fn main() {
220
}
221
222
223
+ if env::var_os("RUSTC_BOLT_LINK_FLAGS").is_some() {
224
+ if let Some("rustc_driver") = crate_name {
225
+ cmd.arg("-Clink-args=-Wl,-q");
226
+ }
227
228
+
229
let is_test = args.iter().any(|a| a == "--test");
230
if verbose > 2 {
231
let rust_env_vars =
@@ -244,12 +250,6 @@ fn main() {
244
250
eprintln!("{prefix} libdir: {libdir:?}");
245
251
246
252
247
- if env::var_os("RUSTC_BOLT_LINK_FLAGS").is_some() {
248
- if let Some("rustc_driver") = crate_name {
249
- cmd.arg("-Clink-args=-Wl,-q");
- }
-
253
bin_helpers::maybe_dump(format!("stage{stage}-rustc"), &cmd);
254
255
let start = Instant::now();
0 commit comments