Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
vendor
/
rayon-1.5.1
/
build.rs
blob: e52e326dc39ac26600586f016f6ce18a75c5df4c [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
let
ac
=
autocfg
::
new
();
if
ac
.
probe_expression
(
"(0..10).step_by(2).rev()"
)
{
autocfg
::
emit
(
"step_by"
);
}
if
ac
.
probe_expression
(
"{ fn foo<const N: usize>() {} }"
)
{
autocfg
::
emit
(
"min_const_generics"
);
}
}