Add a WASM build configuration
The config.toml lets me run `cargo run --target wasm32-unknown-unknown` and host a dev server. I've adjusted the Cargo.toml to use the kdtree_rayon feature by default, but disable the Rayon feature for WASM builds (because it doesn't work).
This commit is contained in:
2
.cargo/config.toml
Normal file
2
.cargo/config.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[target.wasm32-unknown-unknown]
|
||||
runner = "wasm-server-runner"
|
||||
Reference in New Issue
Block a user