Skip to content
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

Add missing availability guards required when development mode enabled #337

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

simonjbeaumont
Copy link
Contributor

Motivation

When developing code that uses the BoringSSL backend on macOS, developers set a development boolean flag in the Package.swift. We recently switched from declaring minimum platform versions to annotating symbols with availability annotations. However, when development = true, it flushes out some annotations that were missing in the first pass. The result is that main currently doesn't build on macOS with this flag set.

Modifications

  • Add missing availability guards required when development mode enabled.

Result:

Code builds macOS with development = true in Package.swift.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link
Contributor

@gjcairo gjcairo left a comment

Choose a reason for hiding this comment

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

Thanks Si!

@simonjbeaumont simonjbeaumont added the 🔨 semver/patch No public API change. label Mar 12, 2025
@simonjbeaumont simonjbeaumont enabled auto-merge (squash) March 12, 2025 15:18
@simonjbeaumont simonjbeaumont merged commit 67e54ae into apple:main Mar 12, 2025
30 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants