summaryrefslogtreecommitdiffstats
path: root/vendor/tokio/tests/tcp_accept.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/tokio/tests/tcp_accept.rs')
-rw-r--r--vendor/tokio/tests/tcp_accept.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/tokio/tests/tcp_accept.rs b/vendor/tokio/tests/tcp_accept.rs
index 5ffb946f3..ba4a498d1 100644
--- a/vendor/tokio/tests/tcp_accept.rs
+++ b/vendor/tokio/tests/tcp_accept.rs
@@ -1,5 +1,5 @@
#![warn(rust_2018_idioms)]
-#![cfg(feature = "full")]
+#![cfg(all(feature = "full", not(tokio_wasi)))] // Wasi doesn't support bind
use tokio::net::{TcpListener, TcpStream};
use tokio::sync::{mpsc, oneshot};