Skip to content

Commit

Permalink
Add rerun-if-env-changed=RUST_CHECK to librustc_llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Apr 18, 2018
1 parent 84f52a7 commit 86acb09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_llvm/build.rs
Expand Up @@ -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;
}

Expand Down

0 comments on commit 86acb09

Please sign in to comment.