From 01d1494471798d6b91af9813d1d6c3e13a55536c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 15 May 2019 10:04:22 +0200 Subject: .golangci.yml: add codeanalysis build tag Using a build tag to exclude files for golangci-lint reduces memory consumption (it does not parse them). The naive attempt with skip-dirs did not work. So add codeanalysis build tag and use it in auto-generated files. Update #977 --- sys/netbsd/gen/amd64.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/netbsd') diff --git a/sys/netbsd/gen/amd64.go b/sys/netbsd/gen/amd64.go index 04b9cbab2..3d3fa583c 100644 --- a/sys/netbsd/gen/amd64.go +++ b/sys/netbsd/gen/amd64.go @@ -1,4 +1,5 @@ // AUTOGENERATED FILE +// +build !codeanalysis // +build !syz_target syz_target,syz_os_netbsd,syz_arch_amd64 package gen @@ -1640,4 +1641,4 @@ var consts_amd64 = []ConstValue{ {Name: "WUNTRACED", Value: 2}, } -const revision_amd64 = "cc25964abdaea89bff562310d8a149aeb2e6514d" +const revision_amd64 = "db1d9602f5022150750b100d946feef07e2446c4" -- cgit mrf-deployment