about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-02-08 10:19:57 -0500
committerGitHub <noreply@github.com>2017-02-08 10:19:57 -0500
commite15bd3177ed89756ea3861ef06e1ba3bd24b4b07 (patch)
tree5777d46c0a4e1cdf7c39e2f884cdcf12a4648044 /src/bootstrap
parent722baed173b41007c0d82d72b5ac4f2e375f17da (diff)
parent37887fce118cf568bb6d3956c76a868bdd098023 (diff)
downloadrust-e15bd3177ed89756ea3861ef06e1ba3bd24b4b07.tar.gz
rust-e15bd3177ed89756ea3861ef06e1ba3bd24b4b07.zip
Rollup merge of #39622 - alexcrichton:clean-dist, r=brson
rustbuild: Clean build/dist on `make clean`

Prevents stale artifacts from sticking around by accident!
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/clean.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/clean.rs b/src/bootstrap/clean.rs
index e7655458aed..a66ed46fe46 100644
--- a/src/bootstrap/clean.rs
+++ b/src/bootstrap/clean.rs
@@ -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() {