| WABT(1) | General Commands Manual | WABT(1) |
wat2wasm —
wat2wasm |
[options] file |
wat2wasm translates from WebAssembly text format to the
WebAssembly binary format.
The options are as follows:
-v,
--verbose--help--debug-parser-d,
--dump-module--enable-exceptions--disable-mutable-globals--enable-saturating-float-to-int--enable-sign-extension--disable-simd--enable-threads-o,
--output=FILE-r,
--relocatable--no-canonicalize-leb128s--debug-names--no-check$ wat2wasm test.watparse test.wat and write to binary file test.wasm
$ wat2wasm test.wat -o
test.wasmParse spec-test.wast, and write verbose output to stdout (including the meaning of every byte)
$ wat2wasm spec-test.wast
-v| October 7, 2021 | Debian |