Skip to content

[5.9] Add SDK and platform paths to plugin executables #1378

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

DougGregor
Copy link
Member

No description provided.

@DougGregor
Copy link
Member Author

@swift-ci please test

Improve on the prior implementation of adding SDK and platform external
plugin path arguments in a few ways:
* Only do this for Darwin, because other platforms don't have similar
abstractions at the moment
* Fix incorrect paths, because I had not written tests
* Add tests, because otherwise nobody should trust this code
* Make sure all of the command-line arguments for compiler plugins are
passed through to the frontend in the order they were provided
* Pass `-load-plugin-library` and `-load-plugin-executable` through to
the frontend
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test Windows

@DougGregor DougGregor merged commit 28b1bf8 into swiftlang:release/5.9 Jun 16, 2023
@DougGregor DougGregor deleted the executable-plugin-paths-5.9 branch June 16, 2023 00:07
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