system-interface 0.3.0

Extensions to the Rust standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    match rustc_version::version_meta()
        .expect("query rustc release channel")
        .channel
    {
        rustc_version::Channel::Nightly => {
            println!("cargo:rustc-cfg=nightly");
        }
        _ => {}
    }
}