mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
10 lines
168 B
Rust
10 lines
168 B
Rust
|
use std::env;
|
||
|
|
||
|
fn main() {
|
||
|
let target = env::var("TARGET").unwrap();
|
||
|
|
||
|
if target == "thumbv6m-none-eabi" {
|
||
|
println!("cargo:rustc-cfg=thumbv6m");
|
||
|
}
|
||
|
}
|