Skip to content

Commit

Permalink
yet another dry run fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed Jun 14, 2023
1 parent 47b6732 commit f67809a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit f67809a

Please sign in to comment.