Following along with this tutorial
rustup target add wasm32-unknown-unknown
cargo install wasm-bindgen-cli
cargo install cargo-make
cargo install wasm-pack
cargo install simple-http-server
cargo install cargo-watch
pacman -Sy rust rust-analyzer rust-wasm rust-bindgen cargo-make wasm-pack simple-http-server cargo-watch
cargo make run