Split WASM and native versions, and move iced support code to native
This commit is contained in:
6
wasm.fish
Executable file
6
wasm.fish
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/fish
|
||||
|
||||
# RUSTFLAGS=--cfg=web_sys_unstable_apis
|
||||
cargo build --target wasm32-unknown-unknown --bin wasm --features web --release || exit
|
||||
wasm-bindgen target/wasm32-unknown-unknown/release/wasm.wasm --out-dir wasm --web || exit
|
||||
simple-http-server wasm || exit
|
||||
Reference in New Issue
Block a user