binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

wasm2js: Generalize to allow 2-level imports

Open sbc100 opened this issue 3 years ago • 1 comments

This removes any hard-coded references to env (the mangic module name used by llvm and emscripten) and instead imports from whatever module name is used in import declaration.

sbc100 avatar Sep 16 '22 17:09 sbc100

We can't land this until emscripten starts passing the full imports object: https://github.com/emscripten-core/emscripten/pull/17806

sbc100 avatar Sep 16 '22 17:09 sbc100

Replaces by #5114

sbc100 avatar Nov 05 '22 03:11 sbc100