Skip to content

Commit

Permalink
Rollup merge of rust-lang#39622 - alexcrichton:clean-dist, r=brson
Browse files Browse the repository at this point in the history
rustbuild: Clean build/dist on `make clean`

Prevents stale artifacts from sticking around by accident!
  • Loading branch information
frewsxcv authored Feb 8, 2017
2 parents 8499f52 + 37887fc commit 51b436b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ use Build;
pub fn clean(build: &Build) {
rm_rf(build, "tmp".as_ref());
rm_rf(build, &build.out.join("tmp"));
rm_rf(build, &build.out.join("dist"));

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

0 comments on commit 51b436b

Please sign in to comment.