aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mkduff.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-10-28 13:51:39 -0400
committerRuss Cox <rsc@golang.org>2021-10-28 22:38:00 +0000
commitaf05d8be3d9dd566b2ce3ff5344258314f128ff6 (patch)
treeb78a3f001064d25e280bb6586f982d4319a3898a /src/runtime/mkduff.go
parentd0751b1ad8d7a68586dc7567cee44e0ce323f26f (diff)
downloadgo-af05d8be3d9dd566b2ce3ff5344258314f128ff6.tar.xz
all: manual fixups for //go:build vs // +build
Update many generators, also handle files that were not part of the standard build during 'go fix' in CL 344955. Fixes #41184. Change-Id: I1edc684e8101882dcd11f75c6745c266fccfe9e7 Reviewed-on: https://go-review.googlesource.com/c/go/+/359476 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/runtime/mkduff.go')
-rw-r--r--src/runtime/mkduff.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/mkduff.go b/src/runtime/mkduff.go
index d05158975f..e8a85702c6 100644
--- a/src/runtime/mkduff.go
+++ b/src/runtime/mkduff.go
@@ -179,7 +179,6 @@ func copyARM64(w io.Writer) {
func tagsPPC64x(w io.Writer) {
fmt.Fprintln(w)
fmt.Fprintln(w, "//go:build ppc64 || ppc64le")
- fmt.Fprintln(w, "// +build ppc64 ppc64le")
fmt.Fprintln(w)
}
@@ -207,7 +206,6 @@ func copyPPC64x(w io.Writer) {
func tagsMIPS64x(w io.Writer) {
fmt.Fprintln(w)
fmt.Fprintln(w, "//go:build mips64 || mips64le")
- fmt.Fprintln(w, "// +build mips64 mips64le")
fmt.Fprintln(w)
}