diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 140507eab66e6..cffd03bf9c579 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -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()); }