Wasi.start() doesn't return a non-zero exit code
Michael-F-Bryan opened this issue · comments
Michael Bryan commented
While working on wit-pack
, I noticed that the wasi.start()
function never seems to return a non-zero exit code on failure. Instead, it looks like the user is given a generic error.
I'm guessing that we never hit this branch when we downcast err.downcast::<WasiError>()
.
Michael Bryan commented
Fixed in #310.