Open bashor opened 3 months ago
The exception handling proposal has changed a lot after it was implemented in WAMR, it really takes a lot of effort to refactor the code to align with the latest spec. Since the feature was mainly implemented by Siemens guys (see https://github.com/bytecodealliance/wasm-micro-runtime/commit/af318bac818ac36dc7e0641fd6b15b4b52c496d6), I will check with them to see whether they can support it, and discuss how to do next if they have no bandwidth.
Just in case there is no rush from our (Kotlin) side, we are going to use the old version by default for some time, at least until major browsers support the new version and the majority of users migrate to those browser versions.
Test case
A bit modified version of kotlin-wasm-examples/wasi-example
Steps to reproduce
./iwasm kotlin-wasm-wasi-example-wasm-wasi.wasm
.Expected output
Actual output