From 9fdf047a2a9946f2da314a17b0142255b98b4304 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Sat, 25 May 2024 12:52:26 -0700 Subject: [PATCH] m: Fix extant errors Signed-off-by: John Nunley --- tests/daisy_chain.rs | 2 ++ tests/rwlock.rs | 1 + 2 files changed, 3 insertions(+) create mode 100644 tests/daisy_chain.rs diff --git a/tests/daisy_chain.rs b/tests/daisy_chain.rs new file mode 100644 index 0000000..615bc7f --- /dev/null +++ b/tests/daisy_chain.rs @@ -0,0 +1,2 @@ +use event_listener::Event; +use std::thread; diff --git a/tests/rwlock.rs b/tests/rwlock.rs index 798b9ab..95bb75d 100644 --- a/tests/rwlock.rs +++ b/tests/rwlock.rs @@ -7,6 +7,7 @@ use futures_lite::{future, prelude::*, ready}; use std::pin::Pin; use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; +#[cfg(not(target_family = "wasm"))] use std::sync::Arc; use std::task::Poll;