diff options
| author | Alexey Kardashevskiy <aik@linux.ibm.com> | 2021-07-06 14:01:49 +1000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-07-07 13:39:53 +0200 |
| commit | 95793bce7d3eaa26fe814335010d7514e9da46fa (patch) | |
| tree | 20e362dd9469dddb45da91e4e7667890489b9429 /vm/gce | |
| parent | bbe0b1e942b7610fb168fbc9edd333b3f4bc4b27 (diff) | |
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 <aik@linux.ibm.com>
Diffstat (limited to 'vm/gce')
| -rw-r--r-- | vm/gce/tar_go1.10.go | 1 | ||||
| -rw-r--r-- | vm/gce/tar_go1.9.go | 1 |
2 files changed, 2 insertions, 0 deletions
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 |
