Skip to content

Commit e15bd31

Browse files
authored
Rollup merge of #39622 - alexcrichton:clean-dist, r=brson
rustbuild: Clean build/dist on `make clean` Prevents stale artifacts from sticking around by accident!
2 parents 722baed + 37887fc commit e15bd31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/clean.rs

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ use Build;
2424
pub fn clean(build: &Build) {
2525
rm_rf(build, "tmp".as_ref());
2626
rm_rf(build, &build.out.join("tmp"));
27+
rm_rf(build, &build.out.join("dist"));
2728

2829
for host in build.config.host.iter() {
2930
let entries = match build.out.join(host).read_dir() {

0 commit comments

Comments
 (0)