rust-clippy/build.rs
2017-10-03 12:07:24 +02:00

8 lines
248 B
Rust

use std::env;
fn main() {
// Forward the profile to the main compilation
println!("cargo:rustc-env=PROFILE={}", env::var("PROFILE").unwrap());
// Don't rebuild even if nothing changed
println!("cargo:rerun-if-changed=build.rs");
}