Following WASM: https://rustwasm.github.io/docs/book/
You will need to install:
-
Rust This is the language used to compile the
.wasm
binary. -
wasm-pack A rust -> wasm workflow tool
-
Node.js A Javascript engine that will use our
wasm
binary and will be responsible for display.
make start
This will:
- Build the rust code
- Generate the
.wasm
binary - Install NPM dependencies
- Start the webpack server
You can also do all this manually by typing the commands in the Makefile
.