aboutsummaryrefslogtreecommitdiff
path: root/tests/sync_barrier.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sync_barrier.rs')
-rw-r--r--tests/sync_barrier.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sync_barrier.rs b/tests/sync_barrier.rs
index 2001c35..ac5977f 100644
--- a/tests/sync_barrier.rs
+++ b/tests/sync_barrier.rs
@@ -2,7 +2,7 @@
#![warn(rust_2018_idioms)]
#![cfg(feature = "sync")]
-#[cfg(tokio_wasm_not_wasi)]
+#[cfg(all(target_family = "wasm", not(target_os = "wasi")))]
use wasm_bindgen_test::wasm_bindgen_test as test;
use tokio::sync::Barrier;