cortex-m-semihosting 0.5.0

Semihosting for ARM Cortex-M processors
Documentation
use std::env;

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

    if target.starts_with("thumbv") {
        println!("cargo:rustc-cfg=thumb");
    }
}