We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 115741b commit e42c527Copy full SHA for e42c527
Cargo.toml
@@ -22,6 +22,7 @@ once_cell = "1.4.1"
22
23
[build-dependencies]
24
autocfg = "1"
25
+rustversion = "1.0.9"
26
27
[target.'cfg(unix)'.dependencies]
28
async-io = "1.0.0"
build.rs
@@ -10,7 +10,8 @@ fn main() {
10
}
11
};
12
13
- if !cfg.probe_rustc_version(1, 63) {
+ let is_nightly = rustversion::cfg!(nightly);
14
+ if !cfg.probe_rustc_version(1, 63) || is_nightly {
15
autocfg::emit("async_process_no_io_safety");
16
17
0 commit comments