Sign in
fuchsia
/
third_party
/
github.com
/
petgraph
/
petgraph
/
3f25cf0d760279d952d8113b31ca3de5dc4bc5c6
/
.
/
crates
/
algorithms
/
build.rs
blob: 17a7be76b25f9bb301a6ec6c6ee0726d25a6ac5b [
file
] [
log
] [
blame
]
#![
allow
(
clippy
::
unwrap_used
)]
use
rustc_version
::{
version_meta
,
Channel
};
fn
main
()
{
let
version_meta
=
version_meta
().
unwrap
();
if
version_meta
.
channel
==
Channel
::
Nightly
{
println
!(
"cargo:rustc-cfg=nightly"
);
}
}