Sam Clegg
Sam Clegg
Dynamic linking is a fairly tricky area to work on, especially when combined with multi-threading. I'm not sure when I might get some time to looking to fixing this I'm...
I can't say this is high priority right now. Mostly because I believe unloading code is still a very niche use case.
Yes, this is mostly just a artifact of how `EMSCRIPTEN_KEEPALIVE` works. Currently its implemented as `__attribute__((used))`. The core problem is that `static` functions are internal of the object file so...
Is there still an issue here? You are correct that you need to make sure that `-fwasm-exceptions` is either used everywhere, or nowhere. You cannot mix code compiled with and...
I think that fact that `_dlopen_js` is being called with the string "const char*" rather than the name of a DLL is really the clue. That looks really wrong. Can...
What is memorySize? memoryBase should only be zero if memorySize is also zero. The memoryBase and tableBase are there the data segment and table segment for your DLL are stored....
So `incr_module_xx.wasm` module looks like it actually doesn't have any data or table slots (I don't see any data segments or elem segments). BTW you can run `wasm-object` on your...
So one of your static constructors is throwing an exception. Are you actually trying to execute a C++ throw in your notebook? If so, wouldn't you expect the DLL to...
Are you saying that in this case the `catch` is not actually catching the `throw 1`? i.e. you are seeing the town value escape an not seeing the `Error` print...