From 6fda5e7843aa257b3ed89e3d2cfcedd2a08726b2 Mon Sep 17 00:00:00 2001 From: Kayla Washburn Date: Tue, 2 Jan 2024 16:50:57 -0700 Subject: [PATCH] remove `!go1.22` directive --- pkg/sync/runtime_unsafe.go | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkg/sync/runtime_unsafe.go b/pkg/sync/runtime_unsafe.go index 91cda67bb0..ec353f26ea 100644 --- a/pkg/sync/runtime_unsafe.go +++ b/pkg/sync/runtime_unsafe.go @@ -3,16 +3,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build go1.18 && !go1.22 -// +build go1.18,!go1.22 - -// //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. - -// Check type definitions and constants when updating Go version. -// -// TODO(b/165820485): add these checks to checklinkname. +// //go:linkname directives type-checked by checklinkname. +// Runtime type copies checked by checkoffset. package sync