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 --- executor/gen.go | 1 + 1 file changed, 1 insertion(+) (limited to 'executor') 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" -- cgit mrf-deployment