13 lines
397 B
Rust
13 lines
397 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
println!("cargo:rerun-if-changed=build.rs");
|
|
println!("cargo:rerun-if-env-changed=CFG_LIBDIR_RELATIVE");
|
|
println!("cargo:rerun-if-env-changed=CFG_COMPILER_HOST_TRIPLE");
|
|
println!("cargo:rerun-if-env-changed=RUSTC_VERIFY_LLVM_IR");
|
|
|
|
if env::var_os("RUSTC_VERIFY_LLVM_IR").is_some() {
|
|
println!("cargo:rustc-cfg=always_verify_llvm_ir");
|
|
}
|
|
}
|