Zalim Bashorov
Zalim Bashorov
### Steps to reproduce 1. Unpack zip [kotlin-wasm-wasi-example-wasm-wasi-dev.wasm.zip](https://github.com/bytecodealliance/wasm-micro-runtime/files/15267851/kotlin-wasm-wasi-example-wasm-wasi-dev.wasm.zip) 2. Build `iwasm` with the following command ``` cmake .. -DWAMR_BUILD_GC=1 -DWAMR_BUILD_BULK_MEMORY=1 -DWAMR_BUILD_EXCE_HANDLING=1 -DWAMR_BUILD_TAIL_CALL=1 -DWAMR_BUILD_CUSTOM_NAME_SECTION=1 -DWAMR_BUILD_EXCE_HANDLING=0 && make ``` 3. Run `./iwasm...
### Steps to reproduce 1. Unpack zip [kotlin-wasm-wasi-example-wasm-wasi-prod.wasm.zip](https://github.com/bytecodealliance/wasm-micro-runtime/files/15267820/kotlin-wasm-wasi-example-wasm-wasi-prod.wasm.zip) 2. Build `iwasm` with the following command ``` cmake .. -DWAMR_BUILD_GC=1 -DWAMR_BUILD_BULK_MEMORY=1 -DWAMR_BUILD_EXCE_HANDLING=1 -DWAMR_BUILD_TAIL_CALL=1 -DWAMR_BUILD_CUSTOM_NAME_SECTION=1 -DWAMR_BUILD_EXCE_HANDLING=0 && make ``` 3. Run `./iwasm...
### Test case A bit modified version of [kotlin-wasm-examples/wasi-example](https://github.com/Kotlin/kotlin-wasm-examples/tree/main/wasi-example) ### Steps to reproduce 1. Download and unzip [kotlin-wasm-wasi-example-wasm-wasi.wasm.zip](https://github.com/user-attachments/files/16111311/kotlin-wasm-wasi-example-wasm-wasi.wasm.zip) 2. Build iwasm with GC and EH support. 3. Run `./iwasm kotlin-wasm-wasi-example-wasm-wasi.wasm`....
### Test case A bit modified version of [kotlin-wasm-examples/wasi-example](https://github.com/Kotlin/kotlin-wasm-examples/tree/main/wasi-example) ### Steps to reproduce 1. Download and unzip [kotlin-wasm-wasi-example-wasm-wasi.wasm.zip](https://github.com/user-attachments/files/16111213/kotlin-wasm-wasi-example-wasm-wasi.wasm.zip) 2. Build iwasm with GC and EH support. 3. Run `./iwasm kotlin-wasm-wasi-example-wasm-wasi.wasm`....
#### Feature To get GC and EH support, right now, we need to build WAMR from sources, which complicates * trying WAMR with Kotlin/Wasm projects for users * using WAMR...
Both implementations call `console.error` and pass `exception.toString()`, which is basically a name of Exception class + message. In addition, `console.error` prints a stack trace from a call site (not from...