Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add unstable
exit-with-code
function
Whereas the existing `exit` function only accepts a `result` parameter (i.e. binary success or failure), this function allows the instance to report any status code from 0 to 255 to the host, with 0 usually meaning "success" and other values having their own meaning depending on the context. Fixes WebAssembly#11 Signed-off-by: Joel Dice <joel.dice@fermyon.com>
- Loading branch information