diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2020-12-07 17:23:26 +0100 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2020-12-23 19:35:22 +0100 |
| commit | ae12a0c200da9a97d80d074e20bf4180fe4671b5 (patch) | |
| tree | 8e2de49efc8d8aa19d4010e10b017934010ba888 /src/bootstrap | |
| parent | f18335edb2917a310b69a522e6f3fde30af3d419 (diff) | |
| download | rust-ae12a0c200da9a97d80d074e20bf4180fe4671b5.tar.gz rust-ae12a0c200da9a97d80d074e20bf4180fe4671b5.zip | |
bootstrap: avoid producing the rust tarball during dry runs
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/dist.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 258483bf134..dddb9527ea1 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -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 |
