mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 20:13:40 +00:00
runtime/pprof, runtime/trace: stub some additional functions
These are necessary to import some parts of the net/http package.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// Stubs for the runtime/trace package
|
||||
package trace
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"io"
|
||||
)
|
||||
|
||||
func Start(w io.Writer) error {
|
||||
return errors.New("not implemented")
|
||||
}
|
||||
|
||||
func Stop() {}
|
||||
Reference in New Issue
Block a user