-
Notifications
You must be signed in to change notification settings - Fork 14
Broken module instantiation #92
Copy link
Copy link
Closed
Description
On the latest main branch (bef00f3) only main WASM module gets instantiated and all other modules are only compiled, but not instantiated.
In release version v1.6.1 there is c.Wazero.InstantiateWithConfig(ctx, data.Data, moduleConfig.WithName(data.Name)) which instantiates modules with a specified name, but in the main branch there is no instantiation of other modules, only compilation.
Simplest example to reproduce is https://github.com/mhmd-azeez/extism_link_modules, with v1.6.1 works as expected, but on latest main it fails with the error:
Failed to initialize plugin: instantiating module: module[lib] not instantiated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels