Skip to content

Commit 2339374

Browse files
authored
Rollup merge of #76741 - Mark-Simulacrum:no-dry-run-timing, r=alexcrichton
Avoid printing dry run timings This avoids a wall of text on CI with 0.000 as the likely time. r? @alexcrichton
2 parents 2e0dbf1 + 5f3145f commit 2339374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,7 @@ impl<'a> Builder<'a> {
13941394
(out, dur - deps)
13951395
};
13961396

1397-
if self.config.print_step_timings {
1397+
if self.config.print_step_timings && !self.config.dry_run {
13981398
println!("[TIMING] {:?} -- {}.{:03}", step, dur.as_secs(), dur.subsec_millis());
13991399
}
14001400

0 commit comments

Comments
 (0)