Skip to content

[5.9] [Macros on Darwin] Use device platform paths when building for the simulator #67439

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

Conversation

DougGregor
Copy link
Member

To avoid having duplicated macro implementations in both the device and simulator platforms, when building for a simulator platform, pass -external-plugin-path that points into the device platform. There is no need to have macro implementations in the simulator platforms.

Implements rdar://112563655.

…mulator

To avoid having duplicated macro implementations in both the device and
simulator platforms, when building for a simulator platform, pass
`-external-plugin-path` that points into the *device* platform. There
is no need to have macro implementations in the simulator platforms.

Implements rdar://112563655.
@DougGregor DougGregor requested a review from a team as a code owner July 20, 2023 18:04
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

DocC failure is unrelated. Rerunning with hope in my heart

@DougGregor
Copy link
Member Author

@swift-ci please test macOS

@DougGregor DougGregor merged commit 8e2b9e9 into swiftlang:release/5.9 Jul 21, 2023
@DougGregor DougGregor deleted the macro-platform-paths-simulator-to-device-5.9 branch July 21, 2023 19:26
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