Log BOLT args in bootstrap rustc
shim
This commit is contained in:
parent
d5db7fb537
commit
a4087b7915
1 changed files with 6 additions and 6 deletions
|
@ -220,6 +220,12 @@ fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
if env::var_os("RUSTC_BOLT_LINK_FLAGS").is_some() {
|
||||
if let Some("rustc_driver") = crate_name {
|
||||
cmd.arg("-Clink-args=-Wl,-q");
|
||||
}
|
||||
}
|
||||
|
||||
let is_test = args.iter().any(|a| a == "--test");
|
||||
if verbose > 2 {
|
||||
let rust_env_vars =
|
||||
|
@ -244,12 +250,6 @@ fn main() {
|
|||
eprintln!("{prefix} libdir: {libdir:?}");
|
||||
}
|
||||
|
||||
if env::var_os("RUSTC_BOLT_LINK_FLAGS").is_some() {
|
||||
if let Some("rustc_driver") = crate_name {
|
||||
cmd.arg("-Clink-args=-Wl,-q");
|
||||
}
|
||||
}
|
||||
|
||||
bin_helpers::maybe_dump(format!("stage{stage}-rustc"), &cmd);
|
||||
|
||||
let start = Instant::now();
|
||||
|
|
Loading…
Add table
Reference in a new issue