mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
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:
committed by
Vadim Petrochenkov
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);
|
||||
|
||||
Reference in New Issue
Block a user