Skip to content

Commit d07df6b

Browse files
authored
Merge branch 'main' into pipeline
2 parents 9173b51 + f6f27a8 commit d07df6b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rust/platform/triple_mappings.bzl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,13 @@ def triple_to_constraint_set(target_triple):
269269
"@rules_rust//rust/platform/os:unknown",
270270
]
271271

272+
# Workaround for https://github.com/bazelbuild/bazel/issues/14982
273+
if target_triple in ("armv7-linux-androideabi", "thumbv7neon-linux-androideabi"):
274+
return [
275+
"@platforms//cpu:arm",
276+
"@platforms//os:android",
277+
]
278+
272279
triple_struct = triple(target_triple)
273280

274281
constraint_set = []

0 commit comments

Comments
 (0)