Skip to content

Commit ae12a0c

Browse files
committed
bootstrap: avoid producing the rust tarball during dry runs
1 parent f18335e commit ae12a0c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bootstrap/dist.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,6 +1288,11 @@ impl Step for Extended {
12881288

12891289
let etc = builder.src.join("src/etc/installer");
12901290

1291+
// Avoid producing tarballs during a dry run.
1292+
if builder.config.dry_run {
1293+
return;
1294+
}
1295+
12911296
// When rust-std package split from rustc, we needed to ensure that during
12921297
// upgrades rustc was upgraded before rust-std. To avoid rustc clobbering
12931298
// the std files during uninstall. To do this ensure that rustc comes

0 commit comments

Comments
 (0)