diff options
Diffstat (limited to 'tests/net_bind_resource.rs')
-rw-r--r-- | tests/net_bind_resource.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/net_bind_resource.rs b/tests/net_bind_resource.rs index 1c604aa..05fd160 100644 --- a/tests/net_bind_resource.rs +++ b/tests/net_bind_resource.rs @@ -1,9 +1,8 @@ #![warn(rust_2018_idioms)] -#![cfg(all(feature = "full", not(tokio_wasi)))] // Wasi doesn't support panic recovery or bind +#![cfg(all(feature = "full", not(target_os = "wasi")))] // Wasi doesn't support panic recovery or bind use tokio::net::TcpListener; -use std::convert::TryFrom; use std::net; #[test] |