diff options
author | Dmitri Shuralyov <dmitshur@golang.org> | 2023-10-17 15:19:33 -0400 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-10-19 23:33:27 +0000 |
commit | bf97e724b50303e721d62b59cca726a679d492ce (patch) | |
tree | 4a8c15c87a23934e30f15b686c072bc260958901 /src/cmd/dist | |
parent | b2fd76ab8dd72b9f2135c1e9b15130e6028fc838 (diff) | |
download | go-bf97e724b50303e721d62b59cca726a679d492ce.tar.gz go-bf97e724b50303e721d62b59cca726a679d492ce.zip |
all: drop old +build lines
Running 'go fix' on the cmd+std packages handled much of this change.
Also update code generators to use only the new go:build lines,
not the old +build ones.
For #41184.
For #60268.
Change-Id: If35532abe3012e7357b02c79d5992ff5ac37ca23
Cq-Include-Trybots: luci.golang.try:gotip-linux-386-longtest,gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/536237
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/dist')
-rw-r--r-- | src/cmd/dist/notgo120.go | 1 | ||||
-rw-r--r-- | src/cmd/dist/sys_default.go | 1 | ||||
-rw-r--r-- | src/cmd/dist/util_gc.go | 1 | ||||
-rw-r--r-- | src/cmd/dist/util_gccgo.go | 1 | ||||
-rw-r--r-- | src/cmd/dist/vfp_arm.s | 1 | ||||
-rw-r--r-- | src/cmd/dist/vfp_default.s | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/src/cmd/dist/notgo120.go b/src/cmd/dist/notgo120.go index dd7657112f..0b89ab3c02 100644 --- a/src/cmd/dist/notgo120.go +++ b/src/cmd/dist/notgo120.go @@ -17,6 +17,5 @@ // why Go moved on from Go 1.4 for bootstrap. //go:build !go1.20 -// +build !go1.20 package building_Go_requires_Go_1_20_6_or_later diff --git a/src/cmd/dist/sys_default.go b/src/cmd/dist/sys_default.go index e87c84ce3e..ae102270c3 100644 --- a/src/cmd/dist/sys_default.go +++ b/src/cmd/dist/sys_default.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build !windows -// +build !windows package main diff --git a/src/cmd/dist/util_gc.go b/src/cmd/dist/util_gc.go index 875784d383..6efdf23e60 100644 --- a/src/cmd/dist/util_gc.go +++ b/src/cmd/dist/util_gc.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gc -// +build gc package main diff --git a/src/cmd/dist/util_gccgo.go b/src/cmd/dist/util_gccgo.go index 3255b80365..2f7af7ed66 100644 --- a/src/cmd/dist/util_gccgo.go +++ b/src/cmd/dist/util_gccgo.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gccgo -// +build gccgo package main diff --git a/src/cmd/dist/vfp_arm.s b/src/cmd/dist/vfp_arm.s index 525ee9b366..37fb4061af 100644 --- a/src/cmd/dist/vfp_arm.s +++ b/src/cmd/dist/vfp_arm.s @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gc -// +build gc #include "textflag.h" diff --git a/src/cmd/dist/vfp_default.s b/src/cmd/dist/vfp_default.s index 0c1e16b0aa..a766edac28 100644 --- a/src/cmd/dist/vfp_default.s +++ b/src/cmd/dist/vfp_default.s @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build gc && !arm -// +build gc,!arm #include "textflag.h" |