wat2wasm Command Examples

Convert a file from the WebAssembly text format to the binary format. More information: https://github.com/WebAssembly/wabt.

wat2wasm {{file.wat}}

wat2wasm {{file.wat}} -o {{file.wasm}}

wat2wasm -v {{file.wat}}