diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2021-05-12 17:55:42 +0200 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2021-05-13 09:12:17 +0000 |
commit | 2c76a6f7f85365cefb5200b2b3408fd6bd421b3d (patch) | |
tree | a07fe5b86d2d5d1d9dd66c22b138704bada51805 /src/cmd/dist | |
parent | 6db7480f5973ced97dfb08f949889e2ff108a492 (diff) | |
download | go-2c76a6f7f85365cefb5200b2b3408fd6bd421b3d.tar.gz go-2c76a6f7f85365cefb5200b2b3408fd6bd421b3d.zip |
all: add //go:build lines to assembly files
Don't add them to files in vendor and cmd/vendor though. These will be
pulled in by updating the respective dependencies.
For #41184
Change-Id: Icc57458c9b3033c347124323f33084c85b224c70
Reviewed-on: https://go-review.googlesource.com/c/go/+/319389
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/cmd/dist')
-rw-r--r-- | src/cmd/dist/vfp_arm.s | 3 | ||||
-rw-r--r-- | src/cmd/dist/vfp_default.s | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/cmd/dist/vfp_arm.s b/src/cmd/dist/vfp_arm.s index d571f8b82a..525ee9b366 100644 --- a/src/cmd/dist/vfp_arm.s +++ b/src/cmd/dist/vfp_arm.s @@ -2,7 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build gc,arm +//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 84829beeff..0c1e16b0aa 100644 --- a/src/cmd/dist/vfp_default.s +++ b/src/cmd/dist/vfp_default.s @@ -2,7 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !arm,gc +//go:build gc && !arm +// +build gc,!arm #include "textflag.h" |