1 2 3 4 5 6 7 8 9
use std::env; use std::io::{self, Write}; use std::process; fn main() { let cfg = env::var_os("CARGO_CFG_TARGET_FEATURE").unwrap_or_default(); let _ = writeln!(io::stderr(), "CARGO_CFG_TARGET_FEATURE={:?}", cfg); process::exit(1); }