diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-03-10 13:02:30 -0800 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2017-03-12 14:02:49 +0300 |
| commit | 4cda4d67f169109bb0c09a2bd2abf5dfd2f41b0d (patch) | |
| tree | d298e2f0cc6adf046c03a03d54eb3db61a994a90 /src/bootstrap/native.rs | |
| parent | 362aa9a317127014a81c8f414ef8b26aee6acfc0 (diff) | |
| download | rust-4cda4d67f169109bb0c09a2bd2abf5dfd2f41b0d.tar.gz rust-4cda4d67f169109bb0c09a2bd2abf5dfd2f41b0d.zip | |
Allow cleaning llvm build dir to fail
It may not exist, so we don't want to spuriously generate an error.
Diffstat (limited to 'src/bootstrap/native.rs')
| -rw-r--r-- | src/bootstrap/native.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index a7754f2669e..6cc1ca8d02e 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -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); |
