Skip to content

Commit 4cda4d6

Browse files
alexcrichtonpetrochenkov
authored andcommitted
Allow cleaning llvm build dir to fail
It may not exist, so we don't want to spuriously generate an error.
1 parent 362aa9a commit 4cda4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/native.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub fn llvm(build: &Build, target: &str) {
5858
}
5959
}
6060
if build.config.llvm_clean_rebuild {
61-
t!(fs::remove_dir_all(&out_dir));
61+
drop(fs::remove_dir_all(&out_dir));
6262
}
6363

6464
println!("Building LLVM for {}", target);

0 commit comments

Comments
 (0)