gecko-dev/gfx/qcms/build.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 строки
288 B
Rust
Исходник Обычный вид История

fn main() {
if cfg!(feature = "neon") {
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");
}
}