Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 98adb2f

Browse files
committedJun 30, 2016
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.
1 parent c2b56fb commit 98adb2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/bootstrap/build/clean.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ use std::path::Path;
2121
use build::Build;
2222

2323
pub fn clean(build: &Build) {
24+
rm_rf(build, &build.out.join("tmp"));
25+
2426
for host in build.config.host.iter() {
2527

2628
let out = build.out.join(host);

0 commit comments

Comments
 (0)
Please sign in to comment.