From abdb0852aba1d6e75f040e63eb09ca9fdc17eae1 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 13 Jul 2023 12:44:21 +0000 Subject: [PATCH] Replace `target_os = "wasm64"` with `target_arch = "wasm64"` --- src/mutex.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mutex.rs b/src/mutex.rs index d8fbaa7..37d5ad3 100644 --- a/src/mutex.rs +++ b/src/mutex.rs @@ -380,7 +380,7 @@ struct AcquireSlow>, T: ?Sized> { listener: Option, /// The point at which the mutex lock was started. - #[cfg(not(any(target_arch = "wasm32", target_os = "wasm64")))] + #[cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))] start: Option, /// This lock operation is starving. @@ -399,7 +399,7 @@ impl>> AcquireSlow { AcquireSlow { mutex: Some(mutex), listener: None, - #[cfg(not(any(target_arch = "wasm32", target_os = "wasm64")))] + #[cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))] start: None, starved: false, _marker: PhantomData,