The current way to do the equivalent would be to use Binaryen's asm2wasm tool.
https://github.com/WebAssembly/binaryen
The current way to do the equivalent would be to use Binaryen's asm2wasm tool.
https://github.com/WebAssembly/binaryen