forked from Mirrors/wasm3
wasi/main: return exit code on wasi proc_exit call (#59)
When running a file (non-REPL mode), if the proc_exit call is called, then terminate with the exit code. If in REPL mode then print a message with the exit code to indicate the wasi call was made and continue.extensions
parent
b97ef7794e
commit
1f6bfd3a0c
Loading…
Reference in new issue