summaryrefslogtreecommitdiff
path: root/src/internal/syscall/unix/sysnum_linux_generic.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-10-27 22:59:55 -0400
committerRuss Cox <rsc@golang.org>2021-10-28 18:10:59 +0000
commited475fe53ba41c0c15b11565f8b9d00165345bc2 (patch)
treef68ace798286d83ef87ac8befc00fa0aad5d3293 /src/internal/syscall/unix/sysnum_linux_generic.go
parent2bc8ed8e9c5d8ae303b42bbd8c65f2c5dc38352a (diff)
downloadgo-git-ed475fe53ba41c0c15b11565f8b9d00165345bc2.tar.gz
cmd/go: update for //go:build lines
cmd/go has its own //go:build evaluator, which is needed for patterns like 'all'. The code is a modified copy of some unexported routines from the go/build package. Update it by copying those again and re-modifying them. The modifications are primarily the new func eval and also ignoring errors. This CL will need to be backported to Go 1.17, or else Go 1.17 will break when faced with certain //go:build-only repos during 'go list all' or 'go mod tidy'. For #41184. Fixes #49198. Change-Id: Ie0fe3caa8d49004935ecd76d7977f767fe50e317 Reviewed-on: https://go-review.googlesource.com/c/go/+/359355 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/internal/syscall/unix/sysnum_linux_generic.go')
0 files changed, 0 insertions, 0 deletions