Replies: 1 comment
-
Simplest might be to compile wasm-merge as it is, then write some JS to wrap around its |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building a system to load sandboxed user code, and as a part of my implementation I want to dynamically link Wasm modules together at runtime. I'm already using
binaryen.js
but it looks like the node builds of the tools aren't made to be run in the browser, and it also seems that the JS bindings don't cover enough of the internals of binaryen for me to do a naive CPP to JS translation ofwasm-merge.cpp
. What's (probably) the easiest route for me to get this working? Should I forkwasm-merge.cpp
to make it non-CLI and re-run emmake, or should I expand the JS bindings ofbinaryen.js
, or am I missing something else entirely?Beta Was this translation helpful? Give feedback.
All reactions