Adds MustInstantiate to host imports (#814)

Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
Crypt Keeper
2022-09-28 16:21:30 +08:00
committed by GitHub
parent 429334cf98
commit 1561c4ca7b
17 changed files with 53 additions and 50 deletions

View File

@@ -137,6 +137,7 @@ type HostModuleBuilder interface {
Compile(context.Context) (CompiledModule, error)
// Instantiate is a convenience that calls Compile, then Namespace.InstantiateModule.
// This can fail for reasons documented on Namespace.InstantiateModule.
//
// Ex.
//