Skip to content

Commit

Permalink
Allow cleaning llvm build dir to fail
Browse files Browse the repository at this point in the history
It may not exist, so we don't want to spuriously generate an error.
  • Loading branch information
alexcrichton authored and petrochenkov committed Mar 12, 2017
1 parent 362aa9a commit 4cda4d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4cda4d6

Please sign in to comment.