summaryrefslogtreecommitdiffstats
path: root/examples/tour/src/widget.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tour/src/widget.rs')
-rw-r--r--examples/tour/src/widget.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/tour/src/widget.rs b/examples/tour/src/widget.rs
new file mode 100644
index 00000000..9c2c4d5b
--- /dev/null
+++ b/examples/tour/src/widget.rs
@@ -0,0 +1,5 @@
+#[cfg(target_arch = "wasm32")]
+pub use iced_web::*;
+
+#[cfg(not(target_arch = "wasm32"))]
+pub use crate::iced_ggez::*;