mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Disable web module on other targets than wasm32 (#1102)
This commit is contained in:
parent
dbdde3d781
commit
7ee9d5639b
|
@ -1,3 +1,5 @@
|
|||
#![cfg(target_arch = "wasm32")]
|
||||
|
||||
#[cfg(feature = "stdweb")]
|
||||
use stdweb::web::html_element::CanvasElement;
|
||||
|
||||
|
|
Loading…
Reference in a new issue