Skip to content

Commit

Permalink
Avoid printing dry run timings
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Sep 15, 2020
1 parent 90b1f5a commit 5f3145f
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 @@ -1421,7 +1421,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 5f3145f

Please sign in to comment.