教程:https://xmanyou.com/wasm-emsdk-mac-start-up/
安裝指令:
$ git clone https://github.com/emscripten-core/emsdk.git
$ cd emsdk
$ ./emsdk install latest
$ ./emsdk activate latest
$ source ./emsdk_env.sh
安裝指定版本:
# Get a specific version using the fastcomp backend.
./emsdk install 2.0.22
./emsdk activate 2.0.22
source ./emsdk_env.sh