summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/goyield_unsafe.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-07-30 20:47:08 +0000
committergVisor bot <gvisor-bot@google.com>2021-07-30 20:47:08 +0000
commit8110ab1bd357b5cb6cdf4e18e9fabf8cbe4950e5 (patch)
tree52c621494f5f8184b356c33cfdeeb8e7ae7c7a45 /pkg/sync/goyield_unsafe.go
parent904163540563b2d9c1069ae348a1a4e05efc675c (diff)
parent62ea5c0a2212b9827f093551fc3da166facb9f0b (diff)
Merge release-20210726.0-12-g62ea5c0a2 (automated)
Diffstat (limited to 'pkg/sync/goyield_unsafe.go')
-rw-r--r--pkg/sync/goyield_unsafe.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkg/sync/goyield_unsafe.go b/pkg/sync/goyield_unsafe.go
index 8639bb64e..757edbaba 100644
--- a/pkg/sync/goyield_unsafe.go
+++ b/pkg/sync/goyield_unsafe.go
@@ -3,10 +3,12 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build go1.14 && !go1.18
-// +build go1.14,!go1.18
+//go:build go1.14
+// +build go1.14
-// Check go:linkname function signatures when updating Go version.
+// //go:linkname directives type-checked by checklinkname. Any other
+// non-linkname assumptions outside the Go 1 compatibility guarantee should
+// have an accompanied vet check or version guard build tag.
package sync