summaryrefslogtreecommitdiffstats
path: root/vendor/io-lifetimes/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/io-lifetimes/src/lib.rs')
-rw-r--r--vendor/io-lifetimes/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/io-lifetimes/src/lib.rs b/vendor/io-lifetimes/src/lib.rs
index da5e740cf..d77954133 100644
--- a/vendor/io-lifetimes/src/lib.rs
+++ b/vendor/io-lifetimes/src/lib.rs
@@ -30,6 +30,8 @@
#![deny(missing_docs)]
// Work around https://github.com/rust-lang/rust/issues/103306.
#![cfg_attr(all(wasi_ext, target_os = "wasi"), feature(wasi_ext))]
+// Currently supported platforms.
+#![cfg(any(unix, windows, target_os = "wasi"))]
mod portability;
mod traits;