summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/goyield_unsafe.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sync/goyield_unsafe.go')
-rw-r--r--pkg/sync/goyield_unsafe.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/sync/goyield_unsafe.go b/pkg/sync/goyield_unsafe.go
index f3cc12163..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
// +build go1.14
-// +build !go1.18
-// 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