snippetbashTip
wasm2wat — Convert a file from the WebAssembly binary format to the text format. More information: <https://web
Viewed 0 times
thecommandfromwasm2watconvertwebassemblyclifile
Problem
How to use the
wasm2wat command: Convert a file from the WebAssembly binary format to the text format. More information: <https://webassembly.github.io/wabt/doc/wasm2wat.1.html>.Solution
wasm2wat — Convert a file from the WebAssembly binary format to the text format. More information: <https://webassembly.github.io/wabt/doc/wasm2wat.1.html>.Convert a file to the text format and display it to the console:
wasm2wat {{file.wasm}}Write the output to a given file:
wasm2wat {{file.wasm}} {{[-o|--output]}} {{file.wat}}Code Snippets
Convert a file to the text format and display it to the console
wasm2wat {{file.wasm}}Write the output to a given file
wasm2wat {{file.wasm}} {{[-o|--output]}} {{file.wat}}Context
tldr-pages: common/wasm2wat
Revisions (0)
No revisions yet.