You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I obtained binaryen on MSYS2 on Windows 10 using the command pacman -S mingw-w64-ucrt-x86_64-binaryen, which gives me "wasm-opt version 121". wasm-opt always hangs after writing an output file (the output file appears to be complete) and not even Ctrl-C can kill it (only the Task Manager can or closing the parent process), but returns properly when doing a simple wasm-opt --help, so I think this has something to do with closing the stream, although the file handle must be closed by the time it starts to hang because I can delete the file even though the program hangs.
Here's an example, the contents of the input file don't seem to influence the outcome:
$wasm-opt demo_nolibc.wasm -O0 -o opt-test.wasm -d
reading...
reading binary from demo_nolibc.wasm
Loading 'demo_nolibc.wasm'...
warning: no passes specified, not doing any work
writing...
writing binary to opt-test.wasm
Opening 'opt-test.wasm'
It hangs the same regardless of whether I run this from msys2's bash.exe or from cmd.exe.
The text was updated successfully, but these errors were encountered:
I obtained binaryen on MSYS2 on Windows 10 using the command
pacman -S mingw-w64-ucrt-x86_64-binaryen
, which gives me "wasm-opt version 121".wasm-opt
always hangs after writing an output file (the output file appears to be complete) and not even Ctrl-C can kill it (only the Task Manager can or closing the parent process), but returns properly when doing a simplewasm-opt --help
, so I think this has something to do with closing the stream, although the file handle must be closed by the time it starts to hang because I can delete the file even though the program hangs.Here's an example, the contents of the input file don't seem to influence the outcome:
It hangs the same regardless of whether I run this from msys2's
bash.exe
or fromcmd.exe
.The text was updated successfully, but these errors were encountered: