aboutsummaryrefslogtreecommitdiff
path: root/tests/tcp_echo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcp_echo.rs')
-rw-r--r--tests/tcp_echo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcp_echo.rs b/tests/tcp_echo.rs
index f47d4ac..dfd4dd7 100644
--- a/tests/tcp_echo.rs
+++ b/tests/tcp_echo.rs
@@ -1,5 +1,5 @@
#![warn(rust_2018_idioms)]
-#![cfg(all(feature = "full", not(tokio_wasi)))] // Wasi doesn't support bind
+#![cfg(all(feature = "full", not(target_os = "wasi")))] // Wasi doesn't support bind
use tokio::io::{self, AsyncReadExt, AsyncWriteExt};
use tokio::net::{TcpListener, TcpStream};