wasm-micro-runtime
wasm-micro-runtime copied to clipboard
iwasm: WASM module load failed: type mismatch: expect (ref null ht) but got other1 unknown type
Steps to reproduce
-
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
- Run
./iwasm kotlin-wasm-wasi-example-wasm-wasi-dev.wasm
Expected behavior
It should print something like:
Hello from Kotlin via WASI
Current 'realtime' timestamp is: 1715281633864118000
Current 'monotonic' timestamp is: 210424654558083
Actual behavior
It prints:
WASM module load failed: type mismatch: expect (ref null ht) but got other1 unknown type