Skip to content

[6.2][clang][Darwin] Align all OS Versions for 26 #10820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

cyndyishida
Copy link

@cyndyishida cyndyishida commented Jun 10, 2025

  • Translate the following versions to 26.

    • watchOS 12 -> 26
    • visionOS 3 -> 26
    • macos 16 -> 26
    • iOS 19 -> 26
    • tvOS 19 -> 26
  • Emit diagnostics, but allow conversion when clients attempt to use invalid gaps in OS versioning in availability.

  • For target-triples, only allow "valid" versions for implicit conversions.

(cherry picked from commit 290258a)

* Translate the following versions to 26.
  * watchOS 12 -> 26
  * visionOS 3 -> 26
  * macos 16 -> 26
  * iOS 19 -> 26
  * tvOS 19 -> 26

* Emit diagnostics, but allow conversion when clients attempt to use invalid gaps in
OS versioning in availability.

* For target-triples, only allow "valid" versions for implicit
conversions.

(cherry picked from commit c1d325d7836d56add2957a9fea8b8dbcd0546dd2)
@cyndyishida cyndyishida requested a review from a team as a code owner June 10, 2025 15:20
@cyndyishida cyndyishida changed the title [clang][Darwin] Align all OS Versions for 26 [6.2][clang][Darwin] Align all OS Versions for 26 Jun 10, 2025
@cyndyishida cyndyishida requested a review from JDevlieghere June 10, 2025 15:28
@cyndyishida
Copy link
Author

swiftlang/swift#82151
@swift-ci please test

Copy link

@JDevlieghere JDevlieghere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cyndyishida cyndyishida merged commit 2210f33 into swiftlang:swift/release/6.2 Jun 11, 2025
3 checks passed
@cyndyishida cyndyishida deleted the eng/pr-theOSForThemAll branch June 11, 2025 02:36
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