This changes the required signature of user closures to return Result<Ret, Trap> instead of just Ret. This allows raising traps from user functions (currently, WASM execution unconditionally continues after a user function was invoked, which is not ideal).
This changes the required signature of user closures to return
Result<Ret, Trap>
instead of justRet
. This allows raising traps from user functions (currently, WASM execution unconditionally continues after a user function was invoked, which is not ideal).