You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
To be able to link Wasm modules produced by Emscripten, one needs to --enable multimemory in Binaryen.
Describe the solution you'd like
It could be achieved by having a flag --binaryen-opt=<flags> passed to Binaryen invocations (possibly two distinct flags for compiling and linking).
Describe alternatives you've considered
An alternative solution would be to have an --enable-multimemory flag in wasm_of_ocaml directly, but it is more restricted and we might have to add several more such flags in the future.