Open porky11 opened 5 years ago
The bug is caused by some (incomplete) logic in module initialization. As a side note, M3 engine currently lacks a lot of things, and memory management is one of them. I've spent some time fixing different things as you can see in #2 and in my fork here: https://github.com/vshymanskyy/wasm3 So I hope to get to this particular issue soon
@porky11 please check out #3
I tried to run a minimal example to open a glfw window using this library.
I started the program using
./m3 glfw.wasm
The file glfw.wasm converted to glfw.wat looks like this:
The error message I get looks like this:
The bug happens when calling m3_LoadModule.
Any idea what's going on here? Is it a bug or may there be some problem with my wasm?