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 the apple.no_legacy_swiftinterface feature to disable the automatic library evolution transition on framework rules. #2104

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

keith
Copy link
Member

@keith keith commented Aug 18, 2023

We are migrating users to a model where a new attribute, library_evolution, must be set on swift_library targets that vend the user-facing module in a framework, instead of automatically applying library evolution to the whole subgraph. In order to migrate, users can add this feature to their framework target and at the same time set library_evolution = True on their library.

Once everyone is migrated, library evolution should be removed entirely from the Apple transitions and the feature can be removed from BUILD files.

PiperOrigin-RevId: 487022298
(cherry picked from commit cb9a1de)

@keith
Copy link
Member Author

keith commented Aug 18, 2023

needs this in rules_swift bazelbuild/rules_swift@b9175e6

keith referenced this pull request Aug 18, 2023
…atic library evolution transition on framework rules.

We are migrating users to a model where a new attribute, `library_evolution`, must be set on `swift_library` targets that vend the user-facing module in a framework, instead of automatically applying library evolution to the whole subgraph. In order to migrate, users can add this feature to their framework target and at the same time set `library_evolution = True` on their library.

Once everyone is migrated, library evolution should be removed entirely from the Apple transitions and the feature can be removed from BUILD files.

PiperOrigin-RevId: 487022298
…atic library evolution transition on framework rules.

We are migrating users to a model where a new attribute, `library_evolution`, must be set on `swift_library` targets that vend the user-facing module in a framework, instead of automatically applying library evolution to the whole subgraph. In order to migrate, users can add this feature to their framework target and at the same time set `library_evolution = True` on their library.

Once everyone is migrated, library evolution should be removed entirely from the Apple transitions and the feature can be removed from BUILD files.

PiperOrigin-RevId: 487022298
(cherry picked from commit cb9a1de)
@keith keith force-pushed the ks/add-the-apple.no_legacy_swiftinterface-feature-to-disable-the-automatic-library-evolution-transition-on-framework-rules branch from 8bdaeaf to cc56d80 Compare August 28, 2023 21:00
PiperOrigin-RevId: 559113679
(cherry picked from commit b5c71a6)
keith referenced this pull request Aug 28, 2023
PiperOrigin-RevId: 559113679
@brentleyjones
Copy link
Collaborator

We need to land this in order to land #2401.

@keith
Copy link
Member Author

keith commented Apr 2, 2024

feel free to take this one over, i don't recall the state

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants