summaryrefslogtreecommitdiffstats
path: root/examples/tour/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-06 05:23:05 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-06 05:23:05 +0100
commit679d758627f6500de4b2220c0dba3460871b83b4 (patch)
treebd2d41426c86c12eeb7edf1858fb6dcb05448a3c /examples/tour/src
parentf719ba3f4efebdf29cd5922d9e083f8dea96c486 (diff)
downloadiced-679d758627f6500de4b2220c0dba3460871b83b4.tar.gz
iced-679d758627f6500de4b2220c0dba3460871b83b4.tar.bz2
iced-679d758627f6500de4b2220c0dba3460871b83b4.zip
Remove `wasm_bindgen(start)` from `tour` example
Diffstat (limited to 'examples/tour/src')
-rw-r--r--examples/tour/src/main.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs
index 43c7e50f..800254ed 100644
--- a/examples/tour/src/main.rs
+++ b/examples/tour/src/main.rs
@@ -779,16 +779,3 @@ mod style {
}
}
}
-
-// This should be gracefully handled by Iced in the future. Probably using our
-// own proc macro, or maybe the whole process is streamlined by `wasm-pack` at
-// some point.
-#[cfg(target_arch = "wasm32")]
-mod wasm {
- use wasm_bindgen::prelude::*;
-
- #[wasm_bindgen(start)]
- pub fn run() {
- super::main()
- }
-}