userustc_version::{version_meta, Channel};fnmain(){// Set cfg flags depending on release channel. We use "unstable" cfg to gate
// some of the unstable features in the compiler.
ifversion_meta().unwrap().channel ==Channel::Nightly {println!("cargo:rustc-cfg=unstable");}}