Skip to content

[6.1][Package CMO] Enable serializing decls imported with @_spiOnly or package import #79063

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
merged 1 commit into from
Feb 1, 2025

Conversation

elsh
Copy link
Contributor

@elsh elsh commented Jan 30, 2025

…ackage import`.

Starting in Swift 6.0, `package` access level and `@_spiOnly` attribute have been increasingly used in import statements.
However, existing import filtering prevented serialization of package APIs that included such decls, leading to a
significant drop in overall serialization. This PR removes these restrictive filters, and allows decls from SDK or system
modules to be included in serialization.

rdar://130788606
@elsh elsh requested a review from a team as a code owner January 30, 2025 21:29
@elsh
Copy link
Contributor Author

elsh commented Jan 30, 2025

@swift-ci test

@elsh elsh added the 🍒 release cherry pick Flag: Release branch cherry picks label Jan 30, 2025
@elsh elsh requested a review from nkcsgexi January 30, 2025 21:30
@elsh elsh merged commit 1fbbebe into release/6.1 Feb 1, 2025
5 checks passed
@elsh elsh deleted the elsh/rel/pcmo-imports branch February 1, 2025 05:20
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants