rust/library/compiler-builtins/build.rs
2016-09-21 21:14:38 -05:00

8 lines
134 B
Rust

use std::env;
fn main() {
if env::var("TARGET").unwrap().ends_with("hf") {
println!("cargo:rustc-cfg=gnueabihf")
}
}