diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-06-14 15:14:19 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2023-06-14 15:14:19 +0200 |
| commit | f67809ac1dca66e98c0999634212532974e43b97 (patch) | |
| tree | ff9c5292ccc3c09d96c853c655a7c0a44bc74f1e /src/bootstrap | |
| parent | 47b67327664c7bdc80ca447ba3c790f4bd898db7 (diff) | |
| download | rust-f67809ac1dca66e98c0999634212532974e43b97.tar.gz rust-f67809ac1dca66e98c0999634212532974e43b97.zip | |
yet another dry run fix
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/dist.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 6a2409a0fbf..a34a594f137 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -170,6 +170,10 @@ fn make_win_dist( target: TargetSelection, builder: &Builder<'_>, ) { + if builder.config.dry_run() { + return; + } + //Ask gcc where it keeps its stuff let mut cmd = Command::new(builder.cc(target)); cmd.arg("-print-search-dirs"); |
