Sign in
fuchsia
/
fuchsia
/
b913ed1479780eeb0de1e6d2e9d0ed17267964af
/
.
/
third_party
/
rust_crates
/
vendor
/
parking_lot-0.9.0
/
build.rs
blob: 17e76f15628069484d9ee950d3cf9dae9f49b2c5 [
file
] [
log
] [
blame
]
use
rustc_version
::{
version
,
Version
};
fn
main
()
{
if
version
().
unwrap
()
>=
Version
::
parse
(
"1.34.0"
).
unwrap
()
{
println
!(
"cargo:rustc-cfg=has_sized_atomics"
);
println
!(
"cargo:rustc-cfg=has_checked_instant"
);
}
}