summaryrefslogtreecommitdiffstats
path: root/gfx/qcms/build.rs
blob: 26ae7dcc22f3d6cc1260a515d16c271368b14e5d (plain)
1
2
3
4
5
6
7
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");
    }
}