From 99325baf5dfc23e54aea3acf8aaabb1996f5338e Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Thu, 5 Aug 2021 15:22:28 -0700 Subject: Bump gVisor build tags to go1.19 Go's dev.typeparams branch already claims to be Go 1.18, so our !go1.18 build tags breaking testing gVisor with that branch. Normally I would not want to bump the build tags this early, but I plan to extend checklinkname to check the assumptions in these files and remove the build tags ASAP. So we just go ahead and bump the tags until then to unblock testing. PiperOrigin-RevId: 389037239 --- pkg/gohacks/gohacks_unsafe.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/gohacks') diff --git a/pkg/gohacks/gohacks_unsafe.go b/pkg/gohacks/gohacks_unsafe.go index bd8ceba19..a055b3e8d 100644 --- a/pkg/gohacks/gohacks_unsafe.go +++ b/pkg/gohacks/gohacks_unsafe.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.13 && !go1.18 -// +build go1.13,!go1.18 +//go:build go1.13 && !go1.19 +// +build go1.13,!go1.19 // //go:linkname directives type-checked by checklinkname. Any other // non-linkname assumptions outside the Go 1 compatibility guarantee should -- cgit v1.2.3