Skip to content

Commit 86acb09

Browse files
authored
Add rerun-if-env-changed=RUST_CHECK to librustc_llvm
1 parent 84f52a7 commit 86acb09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_llvm/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ fn detect_llvm_link() -> (&'static str, &'static str) {
3030
fn main() {
3131
if env::var_os("RUST_CHECK").is_some() {
3232
// If we're just running `check`, there's no need for LLVM to be built.
33+
println!("cargo:rerun-if-env-changed=RUST_CHECK");
3334
return;
3435
}
3536

0 commit comments

Comments
 (0)