What is the current mechanism for loading the wasm file you are supplying?
Are you using emscripten's dynamic linking capability (i.e. MAIN_MODULE +
SIDE_MODULE?).
If that answer is yes, and you are asking about linking a SIDE_MODULE into
the MAIN_MODULE ahead of time, its not something that is
The emscripten feature only worked for running static constructors I
believe (We should resurrect that feature in binaryen!). Wizer actually
tries to run as much of `main` as it can too.
I don't see any reason why emscripten and wizer couldn't be used together
but I don't know of any attempts to
Hello,
Is it possible to combine multiple .wasm files to one single .wasm file?
Scenario:
I want to share a library(SDK) to an end customer who is building the
.wasm/JS application. Customer concerned that loading multiple wasm files
is not efficient. So we wanted to combine two wasm files.
I believe Emscripten used to have a similar feature, but we had to disable
it because it turned out that we depended on JS setting some values in
memory before running the Wasm code and the pre-evaluation tool couldn’t
account for that. I’m not sure whether that situation has changed, though.
On