summaryrefslogtreecommitdiff
path: root/library/std/src/sync/reentrant_lock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sync/reentrant_lock.rs')
-rw-r--r--library/std/src/sync/reentrant_lock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/reentrant_lock.rs b/library/std/src/sync/reentrant_lock.rs
index 39f23a14441..0140e0d2129 100644
--- a/library/std/src/sync/reentrant_lock.rs
+++ b/library/std/src/sync/reentrant_lock.rs
@@ -1,4 +1,4 @@
-#[cfg(all(test, not(target_os = "emscripten")))]
+#[cfg(all(test, not(any(target_os = "emscripten", target_os = "wasi"))))]
mod tests;
use cfg_if::cfg_if;