diff options
author | Kevin Krakauer <krakauer@google.com> | 2021-05-06 15:01:09 -0700 |
---|---|---|
committer | Kevin Krakauer <krakauer@google.com> | 2021-05-06 15:01:09 -0700 |
commit | 66de003e19642b5d6eb6d3f7660ad638271f3477 (patch) | |
tree | 1a89bf2a084a86696b5e1ebcbf4a6f37713a0d2c | |
parent | b8681e6093e5f818c385f83a91be545cc35e07a9 (diff) |
fix build constraints
-rw-r--r-- | pkg/atomicbitops/aligned_64bit.go | 2 | ||||
-rw-r--r-- | tools/bazeldefs/tags.bzl | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/pkg/atomicbitops/aligned_64bit.go b/pkg/atomicbitops/aligned_64bit.go index 0f3da590f..869ba40cd 100644 --- a/pkg/atomicbitops/aligned_64bit.go +++ b/pkg/atomicbitops/aligned_64bit.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !arm,!386 +// +build amd64 arm64 package atomicbitops diff --git a/tools/bazeldefs/tags.bzl b/tools/bazeldefs/tags.bzl index f5d7a7b21..6564c3b25 100644 --- a/tools/bazeldefs/tags.bzl +++ b/tools/bazeldefs/tags.bzl @@ -33,6 +33,10 @@ archs = [ "_s390x", "_sparc64", "_x86", + + # Pseudo-architectures to group by word side. + "_32bit", + "_64bit", ] oses = [ |