summaryrefslogtreecommitdiffstats
path: root/third_party/rust/packed_simd/build.rs
blob: 5958b9b7856ea0d1bcdec98a2c87f7b02ac6dcee (plain)
1
2
3
4
5
6
7
8
fn main() {
    println!("cargo:rustc-env=RUSTC_BOOTSTRAP=1");
    let target = std::env::var("TARGET")
        .expect("TARGET environment variable not defined");
    if target.contains("neon") {
        println!("cargo:rustc-cfg=libcore_neon");
    }
}