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:
2025-09-03 14:41:53 -05:00
parent ccd8a12b79
commit 68d6de9a83
2 changed files with 12 additions and 1 deletions

2
.cargo/config.toml Normal file
View File

@@ -0,0 +1,2 @@
[target.wasm32-unknown-unknown]
runner = "wasm-server-runner"