Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bootstrap: Make clean respect dry-run
  • Loading branch information
clubby789 committed May 26, 2023
commit ec33e6414cc39a34d2c49f6efdf933ca21a0136c
4 changes: 4 additions & 0 deletions src/bootstrap/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ clean_crate_tree! {
}

fn clean_default(build: &Build, all: bool) {
if build.config.dry_run() {
return;
}

rm_rf("tmp".as_ref());

if all {
Expand Down