Skip to content

🍒[6.4] Bring OS version mappings up to date#2154

Merged
nkcsgexi merged 2 commits into
swiftlang:release/6.4.xfrom
nkcsgexi:177999453-6-4
Jun 15, 2026
Merged

🍒[6.4] Bring OS version mappings up to date#2154
nkcsgexi merged 2 commits into
swiftlang:release/6.4.xfrom
nkcsgexi:177999453-6-4

Conversation

@nkcsgexi

@nkcsgexi nkcsgexi commented Jun 15, 2026

Copy link
Copy Markdown
Contributor
  • Explanation: teach swift-driver about two recent OS version mappings: (1) darwin25-26 → macOS 26-27, and (2) version 26 alignment that was introduced last year.
  • Scope: these target triple APIs are used by SwiftPM and swift-driver as a standalone executable.
  • Risk: Very Low. We already have OS triple version mappings like these at multiple layers.
  • Original PR: Triple: bring OS version mapping up to date #2153
  • Radar: 177999453
  • Reviewer: @jakepetroules

nkcsgexi added 2 commits June 15, 2026 08:15
Rewrite `_iOSVersion` along the lines of LLVM's `getiOSVersion` for the
version-26 alignment: iOS & tvOS 19 -> 26, xrOS 1/2 -> iOS 17/18, xrOS 3 ->
26, watchOS 12 -> 26. Unlike LLVM, only the last pre-jump release
canonicalizes to 26; versions in the unshipped gap below 26 are left
unchanged rather than bumped into the 26+ space.
@nkcsgexi nkcsgexi requested a review from a team as a code owner June 15, 2026 15:17
@nkcsgexi

Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@nkcsgexi nkcsgexi merged commit 174567a into swiftlang:release/6.4.x Jun 15, 2026
26 checks passed
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