expose run_wasm host function to wasm #3420
Labels
🎉 enhancement
New feature!
⚙️ feature request
lib-wasix
Issues related to the WASIX toolchain.
priority-medium
Medium priority issue
🏚 stale
Inactive issues or PR
There is an interesting suggestion for WASI to add an
API to instantiate a module from wasm bytes: WebAssembly/WASI#477
Since wasmer is often ahead of the curve, would you consider exposing a private experimental function
run_wasm(buffer, length)
which allows for modules to dynamically run (tiny) other modules, within the same security context?Use cases would be plugins for wasm programs, compilers running inside wasm etc…
The c function header might look like this:
The text was updated successfully, but these errors were encountered: