summaryrefslogtreecommitdiffstats
path: root/vendor/lock_api/build.rs
blob: 886a3454c304953442464fdea60e253b3624de90 (plain)
1
2
3
4
5
6
7
fn main() {
    let cfg = autocfg::new();

    if cfg.probe_rustc_version(1, 61) {
        println!("cargo:rustc-cfg=has_const_fn_trait_bound");
    }
}