https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm
wasm-pack build --target web
python3 -m http.server
wasm-pack build --target bundler
cd pkg
npm link
cd site
npm link hello-wasm
cd site
npm install
npm run serve
Compiling from Rust to WebAssembly Tutorial - Mozilla
https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm
wasm-pack build --target web
python3 -m http.server
wasm-pack build --target bundler
cd pkg
npm link
cd site
npm link hello-wasm
cd site
npm install
npm run serve
Compiling from Rust to WebAssembly Tutorial - Mozilla