about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-01-02 11:29:10 +0000
committerGitHub <noreply@github.com>2021-01-02 11:29:10 +0000
commit4890c06fc4ac5c0b6cc5ee421f61caaf7a27aeb8 (patch)
treeed524abd0d02097ba4951bc9b6d394737852f6b4
parent1ab3466fe907d36c0b6a29e6a2b7312f5d0e9757 (diff)
parent139ef750eee7ce1bc7cd7ee94e0f0d93a0d9a04b (diff)
downloadrust-4890c06fc4ac5c0b6cc5ee421f61caaf7a27aeb8.tar.gz
rust-4890c06fc4ac5c0b6cc5ee421f61caaf7a27aeb8.zip
Rollup merge of #80574 - jyn514:clean-bootstrap, r=Mark-Simulacrum
Clean bootstrap artifacts on `x.py clean`

Closes https://github.com/rust-lang/rust/issues/76519

r? `@Mark-Simulacrum`
-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 f83dfe8e635..9b9df36e7dc 100644
--- a/src/bootstrap/clean.rs
+++ b/src/bootstrap/clean.rs
@@ -21,6 +21,7 @@ pub fn clean(build: &Build, all: bool) {
     } else {
         rm_rf(&build.out.join("tmp"));
         rm_rf(&build.out.join("dist"));
+        rm_rf(&build.out.join("bootstrap"));
 
         for host in &build.hosts {
             let entries = match build.out.join(host.triple).read_dir() {