rtic/build.rs
Jorge Aparicio 032bb0f0e2 rtfm! macro
2017-06-27 20:08:02 -05:00

11 lines
218 B
Rust

use std::env;
fn main() {
let target = env::var("TARGET").unwrap();
if target.starts_with("thumbv6m") {
println!("cargo:rustc-cfg=thumbv6m");
}
println!("cargo:rerun-if-changed=build.rs");
}