summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2021-05-06 15:01:09 -0700
committerKevin Krakauer <krakauer@google.com>2021-05-06 15:01:09 -0700
commit66de003e19642b5d6eb6d3f7660ad638271f3477 (patch)
tree1a89bf2a084a86696b5e1ebcbf4a6f37713a0d2c
parentb8681e6093e5f818c385f83a91be545cc35e07a9 (diff)
fix build constraints
-rw-r--r--pkg/atomicbitops/aligned_64bit.go2
-rw-r--r--tools/bazeldefs/tags.bzl4
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 = [