Skip to content

Commit b585893

Browse files
Do not print checking messages in dry run mode
1 parent e792d1d commit b585893

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/check.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl Step for Std {
4444
std_cargo(builder, &compiler, target, &mut cargo);
4545

4646
let _folder = builder.fold_output(|| format!("stage{}-std", compiler.stage));
47-
println!("Checking std artifacts ({} -> {})", &compiler.host, target);
47+
builder.info(&format!("Checking std artifacts ({} -> {})", &compiler.host, target));
4848
run_cargo(builder,
4949
&mut cargo,
5050
vec![],
@@ -89,7 +89,7 @@ impl Step for Rustc {
8989
rustc_cargo(builder, &mut cargo);
9090

9191
let _folder = builder.fold_output(|| format!("stage{}-rustc", compiler.stage));
92-
println!("Checking compiler artifacts ({} -> {})", &compiler.host, target);
92+
builder.info(&format!("Checking compiler artifacts ({} -> {})", &compiler.host, target));
9393
run_cargo(builder,
9494
&mut cargo,
9595
vec![],
@@ -177,7 +177,7 @@ impl Step for Test {
177177
test_cargo(builder, &compiler, target, &mut cargo);
178178

179179
let _folder = builder.fold_output(|| format!("stage{}-test", compiler.stage));
180-
println!("Checking test artifacts ({} -> {})", &compiler.host, target);
180+
builder.info(&format!("Checking test artifacts ({} -> {})", &compiler.host, target));
181181
run_cargo(builder,
182182
&mut cargo,
183183
vec![],

0 commit comments

Comments
 (0)