use std::{env, process};
fn main() {
if env::var_os("CARGO_FEATURE_51").is_none() {
if env::var("TARGET").unwrap() == "thumbv6m-none-eabi" {
eprintln!(
"this nRF device does not support the `thumbv6m-none-eabi` target; \
build for `thumbv7em-none-eabi(hf)` instead"
);
process::exit(1);
}
}
}