Sam Clegg

Results 1781 comments of Sam Clegg

Do you mean you want some kind of flag like `-sALLOW_UNDEFINED=foo,bar,baz` and then a way to inject those symbols at runtime? With and an error at runtime if they are...

You could also add a dummy JS library: ``` $ cat libfoo.js addToLibrary({ foo: () => {} bar: () => {} } $ emcc --js-library=libfoo.js .... ``` Then you would...

Regarding the stub library feature of `wasm-ld`, I think can pass you own stuff libraries which will make `wasm-ld` happy, and it won't report errors. ``` $ cat libextern.so #STUB...

We do now support exporting mutable globals to JS since I landed #25530. The issue described in this bug is that there is no way to export mutable globals from...

According to https://github.com/emscripten-core/emscripten/issues/25543 it seems like this issue is not something that is possible with the current ESM integration spec.

Apologies for now getting around to reviewing #24234 for such a long time. @hoodmane does that look like it solving the same issue? Do you have a preference which approach...

Does this also fix https://github.com/emscripten-core/emscripten/issues/25814?

I think we can probably close this now that #24234 has landed. If #24234 doesn't solve your issue feel free to re-open

The version of clang provided by emsdk is only really designed to build for the emscripten target. If you want to try to build host executables with the emsdk version...