aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@linux.ibm.com>2021-07-06 14:01:49 +1000
committerDmitry Vyukov <dvyukov@google.com>2021-07-07 13:39:53 +0200
commit95793bce7d3eaa26fe814335010d7514e9da46fa (patch)
tree20e362dd9469dddb45da91e4e7667890489b9429 /executor
parentbbe0b1e942b7610fb168fbc9edd333b3f4bc4b27 (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 'executor')
-rw-r--r--executor/gen.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/executor/gen.go b/executor/gen.go
index a4932913f..66f3880b2 100644
--- a/executor/gen.go
+++ b/executor/gen.go
@@ -1,6 +1,7 @@
// Copyright 2017 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 amd64 && !freebsd && !darwin && !openbsd && !netbsd
// +build amd64,!freebsd,!darwin,!openbsd,!netbsd
//go:generate bash -c "gcc kvm_gen.cc kvm.S -o kvm_gen && ./kvm_gen > kvm.S.h && rm ./kvm_gen"