rustc-host 0.1.7

Get host target triplet of rustc.
Documentation
1
2
3
4
fn main() {
    let host = rustc_host::from_cli().unwrap();
    println!("host: {}", host);
}