Support iOS platform tags (#15640)

## Summary
This implements the iOS part of
https://github.com/astral-sh/uv/issues/8029

FYI: @freakboy3742

<!-- What's the purpose of the change? What does it do, and why? -->

## Test Plan
Create a venv with uv and run `cargo run pip install --python-platform
arm64-apple-ios pillow`. Then the iOS binary of pillow should be
installed inside the venv.
This commit is contained in:
timrid 2025-09-04 00:24:48 +02:00 committed by GitHub
parent 50bfa8a689
commit 330e56e778
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 599 additions and 41 deletions

View file

@ -531,6 +531,12 @@ impl EnvVars {
/// Defaults to `13.0`, the least-recent non-EOL macOS version at time of writing.
pub const MACOSX_DEPLOYMENT_TARGET: &'static str = "MACOSX_DEPLOYMENT_TARGET";
/// Used with `--python-platform arm64-apple-ios` and related variants to set the
/// deployment target (i.e., the minimum supported iOS version).
///
/// Defaults to `13.0`.
pub const IPHONEOS_DEPLOYMENT_TARGET: &'static str = "IPHONEOS_DEPLOYMENT_TARGET";
/// Used with `--python-platform aarch64-linux-android` and related variants to set the
/// Android API level. (i.e., the minimum supported Android API level).
///