parking_lot_core 0.6.3

An advanced API for creating custom synchronization primitives.
Documentation
1
2
3
4
5
6
7
use rustc_version::{version, Version};

fn main() {
    if version().unwrap() >= Version::parse("1.34.0").unwrap() {
        println!("cargo:rustc-cfg=has_sized_atomics");
    }
}