Compiling larger Go programs under TinyGo fails on two missing pieces.
runtime.Func has no Entry, which testify's mock package calls through FileLine(f.Entry()). runtime/pprof has no goroutine label API (Labels, Label, ForLabels, WithLabels, SetGoroutineLabels, Do), which google.golang.org/grpc references.
Both can be inert stubs alongside the ones already there, with Do still calling its function. PR #5646 adds them.
Compiling larger Go programs under TinyGo fails on two missing pieces.
runtime.Func has no Entry, which testify's mock package calls through FileLine(f.Entry()). runtime/pprof has no goroutine label API (Labels, Label, ForLabels, WithLabels, SetGoroutineLabels, Do), which google.golang.org/grpc references.
Both can be inert stubs alongside the ones already there, with Do still calling its function. PR #5646 adds them.