Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle
_initialize
non existence in wasi reactor modules
The `_initialize` export is optional and may not exist in a wasi reactor module, according to https://github.com/WebAssembly/WASI/blob/main/legacy/application-abi.md#current-unstable-abi. When it doesn't exist, simply don't do anything. This is especially useful in cases where a module has been pre-initialized by `wizer` and the `_initialize` export has been stripped.
- Loading branch information