Skip to content

environment_plist: lower the entire --platform string#2765

Merged
keith merged 1 commit intobazelbuild:masterfrom
ma-oli:environment-plist-fix
Aug 15, 2025
Merged

environment_plist: lower the entire --platform string#2765
keith merged 1 commit intobazelbuild:masterfrom
ma-oli:environment-plist-fix

Conversation

@ma-oli
Copy link
Copy Markdown
Contributor

@ma-oli ma-oli commented Aug 15, 2025

The xcrun --sdk argument expects only lowercase letters and numbers. SDK version is usually just numbers, but in the exceptional case where it also has letters, we need to .lower() the entire string that we pass, and not just the platform name. We're slightly modifying _environment_plist_impl() in that commit to support that use-case.

The `xcrun --sdk` argument expects only lowercase letters and numbers.
SDK version is usually just numbers, but in the exceptional case where
it also has letters, we need to .lower() the entire string that we pass,
and not just the platform name. We're slightly modifying
`_environment_plist_impl()` in that commit to support that use-case.
@keith keith enabled auto-merge (squash) August 15, 2025 18:56
@keith keith merged commit 0158abf into bazelbuild:master Aug 15, 2025
8 checks passed
@ma-oli ma-oli deleted the environment-plist-fix branch August 15, 2025 19:37
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.

2 participants