- Rust installed. (https://www.rust-lang.org/tools/install)
- wasm-pack installed. (https://rustwasm.github.io/wasm-pack/)
- Node installed. (https://nodejs.org/en/download/package-manager/)
- http-server installed. (npm install -g http-server)
- Clone this repo.
git clone https://github.com/sunado/CalcWasm.git
- Build wasm
cd CalcWasm
cd math
wasm-pack build --target web
- Show Result
cd ..
http-server