Kotlin / kotlin-wasm-wasi-template

A template repository for Kotlin/Wasm with WASI
Apache License 2.0
9 stars 1 forks source link

can not run on wasm-micro-runtime #2

Open ericCHensssssssss opened 1 week ago

ericCHensssssssss commented 1 week ago

I build the example,and get the kotlin-wasm-wasi-example-wasm-wasi.wasm ,and run it use wasm-micro-runtime,get the follow error,do you have some suggestions?

liuyang.chen@chenliuyang-38 build % ./iwasm kotlin-wasm-wasi-example-wasm-wasi.wasm WASM module load failed: invalid section id

JSMonk commented 3 days ago

Hey @ericCHensssssssss Thank you for your contribution. I will add WAMR soon to the repo.

JSMonk commented 3 days ago

@ericCHensssssssss #4 is PR with the WAMR setup (but I constantly get a segmentation fault on tests, so it seems like it's an issue of WAMR itself). You can try if the setup works for you.