Open
Description
after fa85caf was merged I am now getting an panic message that infers no exported functions exist panic: runtime error: index out of range [51] with length 0
my execution code is almost a 1 to 1 duplicate of the projects main.go
entryID, ok := vm.GetFunctionExport(w.context.action)
if !ok {
return errors.New("missing 'run' entry function")
}
// If any function prior to the entry function was declared to be
// called by the module, run it first.
if vm.Module.Base.Start != nil {
startID := int(vm.Module.Base.Start.Index)
_, err := vm.Run(startID)
if err != nil {
vm.PrintStackTrace()
return err
}
}
// Run the WebAssembly module's entry function.
if _, err := vm.Run(entryID); err != nil {
vm.PrintStackTrace()
return err
}
Metadata
Assignees
Labels
No labels
Activity