mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
upgrade net (#5490)
* upgrade net * add some missing crypto and os API (#5488) * add missing crypto API * gofmt crypto/tls/common.go * pull new net with unixsock formatted * update net to latest main
This commit is contained in:
@@ -14,3 +14,14 @@ func NumGoroutine() int {
|
||||
func Breakpoint() {
|
||||
panic("Breakpoint not supported")
|
||||
}
|
||||
|
||||
// Stub for SetBlockProfileRate, does not do anything. TinyGo has no block
|
||||
// profiler.
|
||||
func SetBlockProfileRate(rate int) {
|
||||
}
|
||||
|
||||
// Stub for SetMutexProfileFraction, does not do anything and always reports the
|
||||
// previous rate as 0. TinyGo has no mutex profiler.
|
||||
func SetMutexProfileFraction(rate int) int {
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user