diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-02-18 23:35:57 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-18 23:35:57 +0000 |
commit | 86cb33a031425bcc61210778836acfb935c4d7db (patch) | |
tree | aaf1ee3e79fd67b339e1922e193368ea3f5df488 /pkg/sync/runtime_unsafe.go | |
parent | 9253ef5a85a731313fb148a5aa687575431f58dc (diff) | |
parent | f80a857a4f5f57908c64a22f5de0e07df722227d (diff) |
Merge release-20210208.0-73-gf80a857a4 (automated)
Diffstat (limited to 'pkg/sync/runtime_unsafe.go')
-rw-r--r-- | pkg/sync/runtime_unsafe.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/sync/runtime_unsafe.go b/pkg/sync/runtime_unsafe.go index e925e2e5b..119ff832a 100644 --- a/pkg/sync/runtime_unsafe.go +++ b/pkg/sync/runtime_unsafe.go @@ -4,9 +4,10 @@ // license that can be found in the LICENSE file. // +build go1.13 -// +build !go1.17 +// +build !go1.18 -// Check function signatures and constants when updating Go version. +// Check go:linkname function signatures, type definitions, and constants when +// updating Go version. package sync @@ -95,6 +96,7 @@ func MapKeyHasher(m interface{}) func(unsafe.Pointer, uintptr) uintptr { return mtyp.hasher } +// maptype is equivalent to the beginning of runtime.maptype. type maptype struct { size uintptr ptrdata uintptr |