From 84d64dd3315d368ab0562654f28c35ff6e30122e Mon Sep 17 00:00:00 2001 From: daladim Date: Tue, 1 Mar 2022 21:59:26 +0100 Subject: [PATCH] minor: fixes for wasm ...probably cuased by an awkward conflict resolution --- src/window/icon.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window/icon.rs b/src/window/icon.rs index 58ca344e69..7ab5b6146f 100644 --- a/src/window/icon.rs +++ b/src/window/icon.rs @@ -11,6 +11,7 @@ pub struct Icon(iced_winit::winit::window::Icon); impl Icon { /// Creates an icon from 32bpp RGBA data. + #[cfg(not(target_arch = "wasm32"))] pub fn from_rgba( rgba: Vec, width: u32,