summaryrefslogtreecommitdiffstats
path: root/src/bootstrap/build.rs
blob: e0e32d313535498528a12a321c0a068a5936385b (plain)
1
2
3
4
5
6
7
use std::env;

fn main() {
    let host = env::var("HOST").unwrap();
    println!("cargo:rerun-if-changed=build.rs");
    println!("cargo:rustc-env=BUILD_TRIPLE={host}");
}