Skip to content

Pass -enable-library-evolution for PackageDescription/Plugin in Linux #6157

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

drodriguez
Copy link
Contributor

Enable library evolution for Linux builds of PackageDescription and PackagePlugin.

Motivation:

Since #3526 was merged, #5874 tried to apply the original idea of using @_implementationOnly Foundation in PackageDescription/Plugin to avoid leaking Foundation into the manifests.

Related to SR-14718 (#4416).

Modifications:

Reverts 1998284 / #3526

Result:

PackageDescription and PackagePlugin produce .swiftinterface files also in Linux, not just macOS.

Reverts 1998284 / swiftlang#3526

Related to SR-14718 (swiftlang#4416).

Since swiftlang#3526 was merged, swiftlang#5874 tried to apply the original idea of using
`@_implementationOnly Foundation` in PackageDescription/Plugin to avoid
leaking `Foundation` into the manifests.
@neonichu
Copy link
Contributor

Ah, that's a nice side benefit of #5874

@neonichu
Copy link
Contributor

@swift-ci please smoke test

@neonichu neonichu merged commit 7147d9f into swiftlang:main Feb 21, 2023
@drodriguez drodriguez deleted the enable-library-evolution-linux branch February 21, 2023 23:48
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants