From: Mark Rousskov Date: Thu, 2 Aug 2018 17:59:27 +0000 (-0600) Subject: Do not print checking messages in dry run mode X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=b58589352ee66cfb541cbf88eb493f2ed9a29b00;p=rust.git Do not print checking messages in dry run mode --- diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs index 04de97b5315..6984940b0a6 100644 --- a/src/bootstrap/check.rs +++ b/src/bootstrap/check.rs @@ -44,7 +44,7 @@ fn run(self, builder: &Builder) { std_cargo(builder, &compiler, target, &mut cargo); let _folder = builder.fold_output(|| format!("stage{}-std", compiler.stage)); - println!("Checking std artifacts ({} -> {})", &compiler.host, target); + builder.info(&format!("Checking std artifacts ({} -> {})", &compiler.host, target)); run_cargo(builder, &mut cargo, vec![], @@ -89,7 +89,7 @@ fn run(self, builder: &Builder) { rustc_cargo(builder, &mut cargo); let _folder = builder.fold_output(|| format!("stage{}-rustc", compiler.stage)); - println!("Checking compiler artifacts ({} -> {})", &compiler.host, target); + builder.info(&format!("Checking compiler artifacts ({} -> {})", &compiler.host, target)); run_cargo(builder, &mut cargo, vec![], @@ -177,7 +177,7 @@ fn run(self, builder: &Builder) { test_cargo(builder, &compiler, target, &mut cargo); let _folder = builder.fold_output(|| format!("stage{}-test", compiler.stage)); - println!("Checking test artifacts ({} -> {})", &compiler.host, target); + builder.info(&format!("Checking test artifacts ({} -> {})", &compiler.host, target)); run_cargo(builder, &mut cargo, vec![],