aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot-rp/build.rs
blob: 2cbc7ef5e17879b3f0d71a7755e52bdc7dab00cd (plain)
1
2
3
4
5
6
7
8
use std::env;

fn main() {
    let target = env::var("TARGET").unwrap();
    if target.starts_with("thumbv6m-") {
        println!("cargo:rustc-cfg=armv6m");
    }
}