diff options
Diffstat (limited to 'tests/rt_panic.rs')
-rw-r--r-- | tests/rt_panic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rt_panic.rs b/tests/rt_panic.rs index f9a684f..57f3274 100644 --- a/tests/rt_panic.rs +++ b/tests/rt_panic.rs @@ -1,6 +1,6 @@ #![warn(rust_2018_idioms)] #![cfg(feature = "full")] -#![cfg(not(tokio_wasi))] // Wasi doesn't support panic recovery +#![cfg(not(target_os = "wasi"))] // Wasi doesn't support panic recovery use futures::future; use std::error::Error; |