ruby.wasm
ruby.wasm copied to clipboard
Improve diagnostics for Asyncify buffer overflow
Currently, it just says RuntimeError: unreachable but it doesn't say it's caused by Asyncify at all.
We can determine the RuntimeError is caused by Asyncify or not by checking the asyncify buffer struct { start: i32, end: i32 } and the start pointer exceeds end pointer or not.