Skip to content

[6.0] Remove the addition of external-plugin-path for dev toolchains #7526

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

bnbarham
Copy link
Contributor

@bnbarham bnbarham commented May 3, 2024

Explanation: SDK macro plugins are now provided within Platforms and are added by default. There's no need to add an additional path to the toolchain. Doing so prevents the macros in the dev toolchain from being picked up.
Scope: Macros
Risk: Low, this path was added prior to macros moving into Platforms.
Testing: Source compat suite passes (which has various macro projects). We could theoretically test we're not adding the argument, but seems a bit weird to do so.
Original PR: #7524
Reviewer: @MaxDesiatov

SDK macro plugins are now provided within
`Platforms/<Platform>.platform/Developer/usr/lib/swift/host/plugins`
now, which is always added by the driver.

(cherry picked from commit e9791b0)
@bnbarham
Copy link
Contributor Author

bnbarham commented May 3, 2024

@swift-ci please test

@MaxDesiatov MaxDesiatov added bug swift 6.0 Related to Swift 6.0 release branch macros Support for macros labels May 3, 2024
@bnbarham bnbarham merged commit 1889cd1 into swiftlang:release/6.0 May 3, 2024
@bnbarham bnbarham deleted the cherry-remove-macros-toolchain branch May 3, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug macros Support for macros swift 6.0 Related to Swift 6.0 release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants