mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-12-02 11:42:31 +00:00
9 lines
166 B
Rust
9 lines
166 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
let target = env::var("TARGET").unwrap();
|
|
if target.starts_with("thumbv6m-") {
|
|
println!("cargo:rustc-cfg=armv6m");
|
|
}
|
|
}
|