github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/runtime/metrics.go (about) 1 package runtime 2 3 // Implementation of functions needed by runtime/metrics. 4 // Mostly just dummy implementations: we don't currently use any of these 5 // metrics. 6 7 //go:linkname godebug_registerMetric internal/godebug.registerMetric 8 func godebug_registerMetric(name string, read func() uint64) { 9 // Dummy function for compatibility with Go 1.21. 10 }