summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/build.rs
blob: b79d09b0dd2d2776e98a4ae73de9c2884e722677 (plain)
1
2
3
4
5
6
7
fn main() {
    // Forward the profile to the main compilation
    println!("cargo:rustc-env=PROFILE={}", std::env::var("PROFILE").unwrap());
    // Don't rebuild even if nothing changed
    println!("cargo:rerun-if-changed=build.rs");
    rustc_tools_util::setup_version_info!();
}