Skip to content

Commit 5f3145f

Browse files
Avoid printing dry run timings
1 parent 90b1f5a commit 5f3145f

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
@@ -1421,7 +1421,7 @@ impl<'a> Builder<'a> {
14211421
(out, dur - deps)
14221422
};
14231423

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

0 commit comments

Comments
 (0)