From 95793bce7d3eaa26fe814335010d7514e9da46fa Mon Sep 17 00:00:00 2001 From: Alexey Kardashevskiy Date: Tue, 6 Jul 2021 14:01:49 +1000 Subject: pkg: update generated files to go 1.17 "make generate" produces this diff when go 1.17 (go1.17-c95464f0ea3f==upstream) is used. Seems compatible with >=1.16. https://github.com/golang/go/commit/4d2d89ff42ca documents the syntax. https://github.com/golang/go/commit/eeadce2d8713 enforces "ignore" for unsatisfiable tags hence the pkg/csource/gen.go change. Signed-off-by: Alexey Kardashevskiy --- vm/gce/tar_go1.10.go | 1 + vm/gce/tar_go1.9.go | 1 + 2 files changed, 2 insertions(+) (limited to 'vm/gce') diff --git a/vm/gce/tar_go1.10.go b/vm/gce/tar_go1.10.go index 88a5d1fda..713f71d36 100644 --- a/vm/gce/tar_go1.10.go +++ b/vm/gce/tar_go1.10.go @@ -1,6 +1,7 @@ // Copyright 2018 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +//go:build go1.10 // +build go1.10 package gce diff --git a/vm/gce/tar_go1.9.go b/vm/gce/tar_go1.9.go index a26ecbdd5..7ca207100 100644 --- a/vm/gce/tar_go1.9.go +++ b/vm/gce/tar_go1.9.go @@ -1,6 +1,7 @@ // Copyright 2018 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. +//go:build !go1.10 // +build !go1.10 package gce -- cgit mrf-deployment