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.
RUSTC_PROGRESS=0
1 parent 7a68011 commit 3fc4180Copy full SHA for 3fc4180
compiler/rustc_session/src/session.rs
@@ -1511,7 +1511,10 @@ pub fn build_session(
1511
let asm_arch =
1512
if target_cfg.allow_asm { InlineAsmArch::from_str(&target_cfg.arch).ok() } else { None };
1513
1514
- let progress_bars = std::env::var_os("RUSTC_PROGRESS").map(|_| Session::init_progress_bars());
+ let progress_bars = match std::env::var_os("RUSTC_PROGRESS") {
1515
+ Some(val) if val != "0" => Some(Session::init_progress_bars()),
1516
+ _ => None,
1517
+ };
1518
1519
let sess = Session {
1520
target: target_cfg,
0 commit comments