summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrentley Jones <github@brentleyjones.com>2023-10-18 13:54:22 -0500
committerGitHub <noreply@github.com>2023-10-18 18:54:22 +0000
commitf9b2e11c54a295fbc4751b6bfff262feaa901d82 (patch)
tree389a358e34081f43cf38e1048aae923839439651
parent8924aac359ff87cec8cac61d882a72f581d05bc3 (diff)
downloadbazelbuild-apple_support-f9b2e11c54a295fbc4751b6bfff262feaa901d82.tar.gz
Add `default_constraint_value` to `target_vendor` constraint (#279)upstream/1.11.1
Needed to fix toolchain resolution. Signed-off-by: Brentley Jones <github@brentleyjones.com>
-rw-r--r--constraints/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/constraints/BUILD b/constraints/BUILD
index b63a382..6abdc43 100644
--- a/constraints/BUILD
+++ b/constraints/BUILD
@@ -34,6 +34,7 @@ constraint_value(
# Constraint indicating if the platform belongs to an "Apple" platform (iOS, watchOS, tvOS, etc.)
constraint_setting(
name = "target_vendor",
+ default_constraint_value = ":apple",
visibility = ["//visibility:private"],
)