fparkan/vendor/lock_api/build.rs

8 lines
153 B
Rust
Raw Normal View History

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