Disable web module on other targets than wasm32 (#1102)

This commit is contained in:
Zakarum
2019-08-14 11:20:05 +03:00
committed by Hal Gentz
parent dbdde3d781
commit 7ee9d5639b

View File

@@ -1,3 +1,5 @@
#![cfg(target_arch = "wasm32")]
#[cfg(feature = "stdweb")]
use stdweb::web::html_element::CanvasElement;