Add rerun-if-env-changed=RUST_CHECK to librustc_llvm
This commit is contained in:
parent
84f52a7162
commit
86acb09273
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ fn detect_llvm_link() -> (&'static str, &'static str) {
|
||||||
fn main() {
|
fn main() {
|
||||||
if env::var_os("RUST_CHECK").is_some() {
|
if env::var_os("RUST_CHECK").is_some() {
|
||||||
// If we're just running `check`, there's no need for LLVM to be built.
|
// If we're just running `check`, there's no need for LLVM to be built.
|
||||||
|
println!("cargo:rerun-if-env-changed=RUST_CHECK");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue