Refactors NewModuleEngine and NewCallEngine (#1291)

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
Takeshi Yoneda
2023-03-26 17:40:55 -07:00
committed by GitHub
parent a4226906cf
commit cd606bde04
10 changed files with 62 additions and 91 deletions

View File

@@ -796,7 +796,7 @@ func (e *mockEngine) DeleteCompiledModule(module *wasm.Module) {
}
// NewModuleEngine implements the same method as documented on wasm.Engine.
func (e *mockEngine) NewModuleEngine(_ string, _ *wasm.Module, _ []wasm.FunctionInstance) (wasm.ModuleEngine, error) {
func (e *mockEngine) NewModuleEngine(_ *wasm.Module, _ []wasm.FunctionInstance) (wasm.ModuleEngine, error) {
return nil, nil
}