Skip to content

Commit 216a3fa

Browse files
committed
rustbuild: Clean build/dist on make clean
Prevents stale artifacts from sticking around by accident!
1 parent 9e272fa commit 216a3fa

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)