mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 03:23:25 +00:00
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
This commit is contained in:
commit
233937419a
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user