bytecodealliance / wizer

The WebAssembly Pre-Initializer
Apache License 2.0
959 stars 58 forks source link

wizer.h: handle the case when wasi command main function returns non-zero code #79

Closed TerrorJack closed 1 year ago

TerrorJack commented 1 year ago

When a wasi command's main function returns non-zero code, we should invoke __wasi_proc_exit for it. Closes #68.