-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Description
Could we add an -sIMPORTED_TABLE setting?
Since -sRELOCATABLE is no longer the default, I've been getting problems with this code:
https://github.com/python/cpython/blob/main/Python/emscripten_trampoline.c#L35
because wasmTable and wasmMemory are undefined. Here I want to define an import via a separate wasm module so that we can use a fall back if wasm-gc is not supported. That module needs the table and the memory. I want to use it as a direct import, so I need to compile the other wasm module before the main wasm module is compiled. Thus, it needs both the table and the memory to be imported. I can force the memory to be imported with -sIMPORTED_MEMORY, but I need a separate setting for the table.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels