Skip to content

[6.0] Basic: Add minimum availability version for visionOS #73273

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

Conversation

tshortli
Copy link
Contributor

  • Explanation: This fixes an issue where diagnostics were not emitted for missing availability attributes when compiling for visionOS.
  • Scope: Affects projects that specify the -require-explicit-availability flag in their build settings or effectively have -library-level=api.
  • Issue/Radar: rdar://127073463
  • Original PR: Basic: Add minimum availability version for visionOS #73268
  • Risk: Low. The main risk is that this will be source breaking for projects that already specify -require-explicit-availability=error and haven't been getting diagnostics for visionOS builds.
  • Testing: Added a new test validating the behavior of -require-explicit-availability for all VENDOR=apple platforms.
  • Reviewer: @artemcm

This fixes an issue where diagnostics were not emitted for missing availability
attributes when compiling for visionOS.

Resolves rdar://127073463
@tshortli tshortli added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0 labels Apr 26, 2024
@tshortli tshortli requested a review from a team as a code owner April 26, 2024 00:01
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli requested a review from nkcsgexi April 26, 2024 00:01
@tshortli tshortli enabled auto-merge April 26, 2024 00:01
@tshortli
Copy link
Contributor Author

@swift-ci please test Linux

@tshortli tshortli merged commit 5f6b930 into swiftlang:release/6.0 Apr 26, 2024
@tshortli tshortli deleted the require-explicit-availability-visionos-6.0 branch April 26, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants