diff --git a/src/platform/web.rs b/src/platform/web.rs index edb37f8b..6a1a98cd 100644 --- a/src/platform/web.rs +++ b/src/platform/web.rs @@ -1,3 +1,5 @@ +#![cfg(target_arch = "wasm32")] + #[cfg(feature = "stdweb")] use stdweb::web::html_element::CanvasElement;