mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Skip analysis of sync/atomic
https://go.dev/issue/50860 is adding Pointer[T] to sync/atomic, which will trip up analyzers that don't handle generics. Skip it for now. Drop constraints, maps, slices, as they were dropped from the standard library. PiperOrigin-RevId: 437808952
This commit is contained in:
committed by
gVisor bot
parent
b8fa96e201
commit
34623f4d75
@@ -746,9 +746,7 @@ func SplitPackages(srcs []string, srcRootPrefix string) map[string][]string {
|
||||
//
|
||||
// TODO(b/201686256): remove once tooling can handle type parameters.
|
||||
var usesTypeParams = map[string]struct{}{
|
||||
"constraints": struct{}{}, // golang.org/issue/45458
|
||||
"maps": struct{}{}, // golang.org/issue/47649
|
||||
"slices": struct{}{}, // golang.org/issue/45955
|
||||
"sync/atomic": struct{}{}, // https://go.dev/issue/50860
|
||||
}
|
||||
|
||||
// Bundle checks a bundle of files (typically the standard library).
|
||||
|
||||
Reference in New Issue
Block a user