Skip to content

Support macro targets in plugin context #6483

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 1 commit into from
Apr 26, 2023

Conversation

neonichu
Copy link
Contributor

This currently prevents the use of plugins in any package graph that happens to include one or more macro targets which seems extremely unfortunate.

This fix is slightly ugly because PackagePlugin should not concretely know about macros. An alternative could be excluding macros from the project model that plugins see.

rdar://108531004

This currently prevents the use of plugins in any package graph that happens to include one or more macro targets which seems extremely unfortunate.

This fix is slightly ugly because `PackagePlugin` should not concretely know about macros. An alternative could be excluding macros from the project model that plugins see.

rdar://108531004
@neonichu neonichu self-assigned this Apr 26, 2023
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu neonichu merged commit 76744ca into main Apr 26, 2023
@neonichu neonichu deleted the support-macros-in-plugin-context branch April 26, 2023 15:31
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