Skip to content

[FEATURE REQUEST] Allow to pass flags to Binaryen #1956

@OlivierNicole

Description

@OlivierNicole

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions