Skip to content

[5.9] Disable adding '-external-plugin-path' in integrated driver mode #1357

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

rintaro
Copy link
Member

@rintaro rintaro commented May 8, 2023

Cherry-pick #1356 into release/5.9

Explanation: Detecting if -external-plugin-path should be added or not is not reliable in "integrated driver" mode. In such cases the user should manually add them. This change just disable adding -external-plugin-path if Driver.integratedDriver is true.
Scope: Frontend arguments
Risk: Low. This just disabled a newly added functionality depending on the condition
Testing: Added a regression test case to verify -external-plugin-path is added automatically if the flag is on.
Issue: rdar://109060298
Reviewer: Artem Chikin (@artemcm )

rintaro added 2 commits May 8, 2023 15:17
rdar://109060298
(cherry picked from commit c75cfd4)
@rintaro
Copy link
Member Author

rintaro commented May 8, 2023

@swift-ci Please test

@rintaro rintaro merged commit 2938a1d into swiftlang:release/5.9 May 9, 2023
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