Skip to content

Commit

Permalink
Fix sliding puzzle on wasm
Browse files Browse the repository at this point in the history
Activate the wasm-bindgen feature on the rand crate
  • Loading branch information
tronical committed Nov 12, 2020
1 parent c258a90 commit 3cf02e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/slide_puzzle/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ rand = "0.7.3"
wasm-bindgen = { version = "0.2" }
web-sys = { version = "0.3", features=["console"] }
console_error_panic_hook = "0.1.5"
rand = { version = "0.7.3", features = ["wasm-bindgen"] }

[build-dependencies]
sixtyfps-build = { path = "../../../api/sixtyfps-rs/sixtyfps-build" }

0 comments on commit 3cf02e5

Please sign in to comment.