Skip to content

SIL: Allow package decls to be serialized when appropriate #70527

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 3 commits into from
Dec 19, 2023

Conversation

tshortli
Copy link
Contributor

#70100 prohibited package declarations from ever being serialized in order to solve a problem in which the declarations were being serialized inappropriately. That's too heavy handed, though, because an @_alwaysEmitIntoClient function with package access must be serialized because it has public non-abi linkage.

Resolves rdar://104711625

swiftlang#70100 prohibited `package` declarations from
ever being serialized in order to solve a problem in which the declarations
were being serialized inappropriately. That's too heavy handed, though, because
an `@_alwaysEmitIntoClient` function with `package` access *must* be serialized
because it has public non-abi linkage.

Resolves rdar://104711625
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli enabled auto-merge December 19, 2023 02:15
@tshortli tshortli merged commit e383631 into swiftlang:main Dec 19, 2023
@tshortli tshortli deleted the stolen-package branch December 19, 2023 07:56
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.

1 participant