wabt icon indicating copy to clipboard operation
wabt copied to clipboard

Wat2wasm - Not Compiling, no output

Open AG-597 opened this issue 1 year ago • 4 comments
trafficstars

My wat is good syntax and has compiled originally and even worked with wasm2wat yet when taking the wat and attempting wat2wasm for compilation it simply provides no output, no output.wat (as i set in the cmd arg) nor does it provide any error logging even with the exceptions enabled arg

I am in need of a fix, if anyone has an idea what is causing this please let me know!

AG-597 avatar Aug 24 '24 17:08 AG-597

Can you share the file here perhaps? Or maybe at lest the full command line? If you can't share the file then perhaps the output of the wat2wasm command with --verbose added?

sbc100 avatar Aug 26 '24 16:08 sbc100

What does wat2wasm --version say?

What does where wat2wasm say?

Can you attach the wat file?

sbc100 avatar Aug 28 '24 14:08 sbc100

How big the .wat file? Does it actually contains wasm module? i.e. does it start with (module?

sbc100 avatar Aug 28 '24 14:08 sbc100

Probably same/similar issue as https://github.com/WebAssembly/wabt/issues/2453

Janrupf avatar Aug 29 '24 16:08 Janrupf

Can you attach the module to this ticket?

sbc100 avatar Aug 30 '24 03:08 sbc100

can you use --debug-parser?

SoniEx2 avatar Sep 23 '24 12:09 SoniEx2