userustc_version::{version_meta, Channel};fnmain(){println!("cargo::rustc-check-cfg=cfg(unstable)");// 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");}}