build/perfdata/cmd/reindex
Dmitri Shuralyov e3441d1566 all: modernize build constraints
We've only ever used build constraints to increase the minimum required
Go version. For example, CL 336390 in 2021 bumped them to go1.16 to use
//go:embed sooner. By now, the 'go' directive in go.mod lets us do that
for the entire module, and Go 1.21 is the minimum supported version, so
there's no need for those old constraints.

Also expand build constraints within a few packages, so that they're in
all its source files rather than an arbitrary subset.

Finally, clean up a few older '// +build'-style constraint instances.

For golang/go#67123.

Change-Id: Ia1d1c3112eab3b72bf808887f27b5fcb2fd894e2
Reviewed-on: https://go-review.googlesource.com/c/build/+/582959
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-05-03 17:36:04 +00:00
..
reindex.go all: modernize build constraints 2024-05-03 17:36:04 +00:00