Skip to content

Commit ec33e64

Browse files
committed
bootstrap: Make clean respect dry-run
1 parent a2b1646 commit ec33e64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/bootstrap/clean.rs

+4
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ clean_crate_tree! {
8585
}
8686

8787
fn clean_default(build: &Build, all: bool) {
88+
if build.config.dry_run() {
89+
return;
90+
}
91+
8892
rm_rf("tmp".as_ref());
8993

9094
if all {

0 commit comments

Comments
 (0)