Allow cleaning llvm build dir to fail
It may not exist, so we don't want to spuriously generate an error.
This commit is contained in:
parent
362aa9a317
commit
4cda4d67f1
@ -58,7 +58,7 @@ pub fn llvm(build: &Build, target: &str) {
|
||||
}
|
||||
}
|
||||
if build.config.llvm_clean_rebuild {
|
||||
t!(fs::remove_dir_all(&out_dir));
|
||||
drop(fs::remove_dir_all(&out_dir));
|
||||
}
|
||||
|
||||
println!("Building LLVM for {}", target);
|
||||
|
Loading…
Reference in New Issue
Block a user