mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
9 lines
248 B
Rust
9 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");
|
||
|
}
|