Skip to content

Commit

Permalink
Rollup merge of rust-lang#76741 - Mark-Simulacrum:no-dry-run-timing, …
Browse files Browse the repository at this point in the history
…r=alexcrichton

Avoid printing dry run timings

This avoids a wall of text on CI with 0.000 as the likely time.

r? @alexcrichton
  • Loading branch information
Dylan-DPC committed Sep 16, 2020
2 parents 36bf0c9 + 5f3145f commit 31e0815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ impl<'a> Builder<'a> {
(out, dur - deps)
};

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

Expand Down

0 comments on commit 31e0815

Please sign in to comment.