(ctx context.Context, stack []uint64)
| 171 | } |
| 172 | |
| 173 | func (f *moduleInstanceFunction[T]) CallWithStack(ctx context.Context, stack []uint64) error { |
| 174 | return f.Function.CallWithStack(WithModuleInstance(ctx, f.instance), stack) |
| 175 | } |
| 176 | |
| 177 | // Instantiate compiles and instantiates a host module. |
| 178 | func Instantiate[T Module](ctx context.Context, runtime wazero.Runtime, mod HostModule[T], options ...Option[T]) (*ModuleInstance[T], error) { |
nothing calls this directly
no test coverage detected