]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_llvm/build.rs
rustc: Load the `rustc_trans` crate at runtime
[rust.git] / src / librustc_llvm / build.rs
index 91dc3210e11abc025d5671947f3f1eea0eccf149..49b93f3c7d6a248fd37b9020a5b606b582ef6849 100644 (file)
@@ -146,6 +146,7 @@ fn main() {
         cfg.define(&flag, None);
     }
 
+    println!("cargo:rerun-if-changed-env=LLVM_RUSTLLVM");
     if env::var_os("LLVM_RUSTLLVM").is_some() {
         cfg.define("LLVM_RUSTLLVM", None);
     }