summaryrefslogtreecommitdiffstats
path: root/src/bootstrap/build.rs
blob: cd1f418028c62c97e55bec1d05abb5797f02dc4f (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);
}