Open
Description
Hi,
It doesn't seem to be possible to implement a proc_exit
host function in C that produces an exit code trap. Specifically, I believe we're missing a function that can produce a trap instance that (when transformed into an error) will satisfy the requirements of wasmtime_error_exit_status
.
Please let me know if you need further clarification from me.
Best.