러스트 wasm 예시
https://rustwasm.github.io/wasm-pack/installer/
git clone https://github.com/esllo/wasm-rust-example.git
cd wasm-rust-example
yarn install
web(no-modules)
# for wasm-rust-example
wasm-pack build --target no-modules
web(module)
wasm-pack build --target web
CommonJS(node)
wasm-pack build --target nodejs
Module (ES6)
wasm-pack build
yarn start
# other cmd/termianl
# Windows
start http://localhost:3000
# Mac
open http://localhost:3000