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 --- pkg/csource/gen.go | 3 ++- pkg/csource/race_test.go | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'pkg/csource') diff --git a/pkg/csource/gen.go b/pkg/csource/gen.go index c92c4b581..196aaf554 100644 --- a/pkg/csource/gen.go +++ b/pkg/csource/gen.go @@ -1,7 +1,8 @@ // 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. -// +build +//go:build ignore +// +build ignore package main diff --git a/pkg/csource/race_test.go b/pkg/csource/race_test.go index 6e497e552..c41cef5d3 100644 --- a/pkg/csource/race_test.go +++ b/pkg/csource/race_test.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 race // +build race package csource -- cgit mrf-deployment