WASM toolchain to compile WebAssembly.
856
This can definitely be cleaned up a bit. There are a few dependencies that can likely be removed.
Navigate to the directory containing the file you want to compile and run:
docker run --rm -v "$PWD":/usr/src/wasmtest -w /usr/src/wasmtest gjstevenson/wasm_build_container emcc YOUR_FILE_NAME.c -s WASM=1 -o hello.html
https://gist.github.com/GJStevenson/97fe31c27d21bfa6430e4c5235bb8c4d
Content type
Image
Digest
Size
482.6 MB
Last updated
about 9 years ago
docker pull gjstevenson/wasm_build_container