aboutsummaryrefslogtreecommitdiff
path: root/build.rs
blob: 46bdb712871c5d0f3a2c27a980c7c7a1957176db (plain)
1
2
3
4
5
6
7
8
9
use std::env;

fn main() {
    let target = env::var("TARGET").unwrap();

    if target == "thumbv6m-none-eabi" {
        println!("cargo:rustc-cfg=thumbv6m");
    }
}