0

Upgrade versions of vendored libs

This commit is contained in:
eleksir
2025-02-09 15:41:24 +03:00
parent d198741b37
commit 4ca2fffb33
246 changed files with 8075 additions and 3205 deletions

View File

@@ -1,15 +0,0 @@
//go:build go1.20
package sentry
import "strings"
func isCompilerGeneratedSymbol(name string) bool {
// In versions of Go 1.20 and above a prefix of "type:" and "go:" is a
// compiler-generated symbol that doesn't belong to any package.
// See variable reservedimports in cmd/compile/internal/gc/subr.go
if strings.HasPrefix(name, "go:") || strings.HasPrefix(name, "type:") {
return true
}
return false
}