Skip to content

platform: add Mac Catalyst triple mappings for crate_universe#3872

Open
idy wants to merge 1 commit intobazelbuild:mainfrom
idy:fix/catalyst-platform-triples
Open

platform: add Mac Catalyst triple mappings for crate_universe#3872
idy wants to merge 1 commit intobazelbuild:mainfrom
idy:fix/catalyst-platform-triples

Conversation

@idy
Copy link

@idy idy commented Feb 26, 2026

Summary

  • add aarch64-apple-ios-macabi and x86_64-apple-ios-macabi to SUPPORTED_T2_PLATFORM_TRIPLES
  • map both *-apple-ios-macabi triples to Mac Catalyst constraints in triple_to_constraint_set (@platforms//os:osx + @build_bazel_apple_support//constraints:catalyst)
  • add unit coverage for Catalyst triple parsing and constraint mapping to avoid regressions

Testing

  • bazel test //test/unit/platform_triple:platform_triple_test_suite //test/unit/platform_triple:wasi_platform_test_suite //test/unit/platform_triple:apple_platform_test_suite

This fixes missing platform labels such as @rules_rust//rust/platform:aarch64-apple-ios-macabi, which currently breaks crate_universe-generated selects when consumers include Catalyst in supported_platform_triples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant