Skip to content

Commit

Permalink
bootstrap: avoid producing the rust tarball during dry runs
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed Dec 23, 2020
1 parent f18335e commit ae12a0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,11 @@ impl Step for Extended {

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

// Avoid producing tarballs during a dry run.
if builder.config.dry_run {
return;
}

// When rust-std package split from rustc, we needed to ensure that during
// upgrades rustc was upgraded before rust-std. To avoid rustc clobbering
// the std files during uninstall. To do this ensure that rustc comes
Expand Down

0 comments on commit ae12a0c

Please sign in to comment.