From e1a236d5a59b80144ec5814521f240d8e1c9d45a Mon Sep 17 00:00:00 2001 From: Mendy Berger <12537668+MendyBerger@users.noreply.github.com> Date: Mon, 14 Oct 2024 16:41:08 -0400 Subject: [PATCH] fix: ExternalImageSource only exists in web --- wgpu-types/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index 77975f13f4..51685d070f 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -6516,13 +6516,13 @@ impl std::ops::Deref for ExternalImageSource { } #[cfg(all( - target_arch = "wasm32", + feature = "web", feature = "fragile-send-sync-non-atomic-wasm", not(target_feature = "atomics") ))] unsafe impl Send for ExternalImageSource {} #[cfg(all( - target_arch = "wasm32", + feature = "web", feature = "fragile-send-sync-non-atomic-wasm", not(target_feature = "atomics") ))]