Disable web module on other targets than wasm32 (#1102)
This commit is contained in:
parent
dbdde3d781
commit
7ee9d5639b
1 changed files with 2 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
#![cfg(target_arch = "wasm32")]
|
||||
|
||||
#[cfg(feature = "stdweb")]
|
||||
use stdweb::web::html_element::CanvasElement;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue