Add rerun-if-env-changed=RUST_CHECK to librustc_llvm

This commit is contained in:
varkor
2018-04-19 00:09:41 +01:00
committed by GitHub
parent 84f52a7162
commit 86acb09273
+1
View File
@@ -30,6 +30,7 @@ fn detect_llvm_link() -> (&'static str, &'static str) {
fn main() {
if env::var_os("RUST_CHECK").is_some() {
// If we're just running `check`, there's no need for LLVM to be built.
println!("cargo:rerun-if-env-changed=RUST_CHECK");
return;
}