blob: 10a25b1db10c9051b0ac24f226afc328b479b191 [file] [log] [blame]
fn main() {
let cfg = match autocfg::AutoCfg::new() {
Ok(cfg) => cfg,
Err(e) => {
println!(
"cargo:warning=async-fs: failed to detect compiler features: {}",
e
);
return;
}
};
if !cfg.probe_rustc_version(1, 63) {
autocfg::emit("async_fs_no_io_safety");
}
}