diff options
| author | bors <bors@rust-lang.org> | 2016-06-30 20:07:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-30 20:07:57 -0700 |
| commit | 375fa6ef371a0ae248968d363226101ef741127e (patch) | |
| tree | 2f25d29d72d0df3527566e623b2acdb827b7345c /src | |
| parent | 85c31af981c6480a24d666d857e57d0714c46e93 (diff) | |
| parent | 1e48a72edc26ab266752b14bd52898584a4e1bd0 (diff) | |
Auto merge of #34577 - alexcrichton:clean-more-yet-again, r=brson
rustbuild: Clean out tmp directory on `make clean` Right now we generate error index information into this directory, but it's never cleaned out. This means that if a build *bounces* because of something in this directory it'll continue to cause all future builds to fail because the relevant files are never removed.
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/build/clean.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/build/clean.rs b/src/bootstrap/build/clean.rs index 1d407c94132..91334bdb91e 100644 --- a/src/bootstrap/build/clean.rs +++ b/src/bootstrap/build/clean.rs @@ -21,6 +21,9 @@ use std::path::Path; use build::Build; pub fn clean(build: &Build) { + rm_rf(build, "tmp".as_ref()); + rm_rf(build, &build.out.join("tmp")); + for host in build.config.host.iter() { let out = build.out.join(host); |
