Sam Clegg
Sam Clegg
The problem is that, as you have found, any emscripten command line flag changing can result in the different wasm binary. Building a single wasm along with N different JS...
And just do confirm, as far as you are aware there is no way to satisfy both ESM and UDM requirements in the single JS file? I think building just...
@juj any feedback on this? IIRC this has maybe come up before?
If anyone would like to add `glfwUpdateGamepadMappings` and `glfwGetGamepadState` to emscripten's GLFW implementation that would be great! Marking this bug a help wanted.
Does cmake always assume it can pass all cflags to `clang-scan-deps`? If so I guess we need an `emcc-scan-deps` that wraps `clang-scan-deps` and removes the flags. In any case I...
The problem is that `-sUSE_WEBGPU` is an emscripten-specific flag so clang won't understand that. I guess we need to add some kind of `emcc-scan-deps` wrapper.
I don't think its going to be easy to make `clang-scan-deps` works out of the box. There are a bunch of flags you would need to pass to it, most...
My first comment here would be regarding the fact that "PHP's memory manager relies heavily on mmap() and munmap() for allocating and reallocating memory as anonymous mappings". As you may...
If you want to see how fake our mmap support is or if you want to try to improve it the code is here: https://github.com/emscripten-core/emscripten/blob/140a17c3b0e1cc0028e0d80a13d189511cad5633/system/lib/libc/emscripten_mmap.c#L114-L138
> Before closing this, let's double check in case I am missing something: > > Are there any memory management APIs other than mremap() that could be used to attempt...