Skip to content

[5.9][Serialization] Write down SPI-only dependencies as required in swiftmodules #65344

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
May 1, 2023

Conversation

xymus
Copy link
Contributor

@xymus xymus commented Apr 21, 2023

Ensure clients load transitive @_spiOnly dependencies by writing them down in the same category as default imports in swiftmodules. These dependencies will be required for clients loading from swiftmodule and swiftinterface, but hidden from clients loading from a public swiftinterface.

The lack of this information was revealed by #64260, as previously clients would see @_spiOnly dependencies as normal dependencies.

rdar://108326858

Cherry-pick of #65337

@xymus xymus requested review from nkcsgexi and tshortli April 21, 2023 05:03
@xymus xymus requested a review from a team as a code owner April 21, 2023 05:03
@xymus
Copy link
Contributor Author

xymus commented Apr 21, 2023

@swift-ci Please test

@xymus
Copy link
Contributor Author

xymus commented May 1, 2023

@swift-ci Please test

@xymus xymus merged commit cbeb702 into swiftlang:release/5.9 May 1, 2023
@xymus xymus deleted the spi-only-dep-5.9 branch May 1, 2023 22:17
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
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 5.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants