Skip to content

Mark all PluginMessageHandling symbols SPI #2489

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 2 commits into from
Apr 16, 2024

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Feb 9, 2024

SwiftCompilerPluginMessageHandling is only intended to be used from internal modules like SwiftCompilerPlugin, or ASTGen and swift-plugin-server in swift repository. Make all the public symbols SPI so other third party modules don't accidentally use it.

@rintaro
Copy link
Member Author

rintaro commented Feb 9, 2024

swiftlang/swift#71513
@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Feb 9, 2024

swiftlang/swift#71513
@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Feb 9, 2024

swiftlang/swift#71513
@swift-ci Please test Windows

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 🙏🏽

- All symbols in `SwiftSyntaxMacroExpansion` and `SwiftCompilerPluginMessageHandling` are now SPI
- Description: These modules are only intended to be used from some internal components. Any other modules should not use them directly.
- Pull requrest: https://github.com/apple/swift-syntax/pull/2489
- Micration staps: Stop using these modules.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Micration staps: Stop using these modules.
- Migration staps: Stop using these modules.

@rintaro
Copy link
Member Author

rintaro commented Feb 12, 2024

@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Feb 12, 2024

@swift-ci Please test Windows

@rintaro
Copy link
Member Author

rintaro commented Feb 12, 2024

swiftlang/swift#71513
@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Feb 12, 2024

swiftlang/swift#71513
@swift-ci Please test Windows

rintaro added 2 commits April 12, 2024 12:03
SwiftCompilerPluginMessageHandling are only intended to be used from
internal modules like SwiftCompilerPlugin, or ASTGen and
swift-plugin-server in swift repository. Make all the public symbols SPI
so other third party modules don't accidentally use them.
@rintaro rintaro force-pushed the pluginmessage-spi branch from e66961a to 31ea421 Compare April 12, 2024 19:05
@rintaro rintaro changed the title Mark all MacroExpansion/PluginMessageHandling symbols SPI Mark all PluginMessageHandling symbols SPI Apr 12, 2024
@rintaro
Copy link
Member Author

rintaro commented Apr 12, 2024

swiftlang/swift#71513
@swift-ci Please test

@rintaro
Copy link
Member Author

rintaro commented Apr 12, 2024

Scoped down to SwiftCompilerPluginMessageHandling only.

@rintaro
Copy link
Member Author

rintaro commented Apr 13, 2024

@swift-ci Please test Windows

@rintaro rintaro merged commit 728e2f6 into swiftlang:main Apr 16, 2024
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.

2 participants