Skip to content

Serialization: Break the cycle between Serialization and SymbolGraphGen #61784

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

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Oct 28, 2022

Push the top level logic for writing out swiftmodules and associated files into the frontend library which has access to all the necessary dependencies.

Fixes the circular dependency between Serialization and SymbolGraphGen that was introduced with #35110.

@tshortli tshortli requested a review from nkcsgexi October 28, 2022 01:51
@tshortli tshortli requested review from xymus and artemcm October 28, 2022 01:52
@tshortli tshortli changed the title Serialization: Break the cycle between Serialization and SymbolGraphGen. Serialization: Break the cycle between Serialization and SymbolGraphGen Oct 28, 2022
@tshortli tshortli force-pushed the break-cycle-serialization-symbolgen branch from e4e77fb to 6fe4813 Compare October 28, 2022 16:43
@tshortli
Copy link
Contributor Author

tshortli commented Oct 28, 2022

This depends on #61792 since this PR removes the last circular dependency that was bringing in ConstExtract everywhere.

@tshortli tshortli force-pushed the break-cycle-serialization-symbolgen branch 3 times, most recently from 9fa11da to 1cb0d1f Compare October 29, 2022 20:53
Push the top level logic for writing out swiftmodules and associated files into the frontend library which has access to all the necessary dependencies.
@tshortli tshortli force-pushed the break-cycle-serialization-symbolgen branch from 1cb0d1f to af032af Compare October 30, 2022 04:37
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli merged commit 5a00b78 into swiftlang:main Oct 30, 2022
@tshortli tshortli deleted the break-cycle-serialization-symbolgen branch October 30, 2022 15:52
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.

4 participants