From 1ad382220048339cb1aeecef7d69b9ddffd9168c Mon Sep 17 00:00:00 2001 From: Jamie Liu Date: Tue, 20 Jul 2021 16:24:59 -0700 Subject: Add go:build directives as required by Go 1.17's gofmt. PiperOrigin-RevId: 385894869 --- pkg/sync/goyield_unsafe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/sync/goyield_unsafe.go') diff --git a/pkg/sync/goyield_unsafe.go b/pkg/sync/goyield_unsafe.go index f3cc12163..8639bb64e 100644 --- a/pkg/sync/goyield_unsafe.go +++ b/pkg/sync/goyield_unsafe.go @@ -3,8 +3,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build go1.14 -// +build !go1.18 +//go:build go1.14 && !go1.18 +// +build go1.14,!go1.18 // Check go:linkname function signatures when updating Go version. -- cgit v1.2.3