mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-28 17:52:28 +00:00
999a2ad829
the main ci.sh now passes if running with nightly.
10 lines
217 B
Rust
10 lines
217 B
Rust
use std::env;
|
|
|
|
fn main() {
|
|
let target = env::var("TARGET").unwrap();
|
|
if target.starts_with("thumbv6m-") {
|
|
println!("cargo:rustc-cfg=armv6m");
|
|
}
|
|
println!("cargo:rustc-check-cfg=cfg(armv6m)");
|
|
}
|