Skip to content

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

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://112563633

Original PR: #1400

…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://112563633
@DougGregor
Copy link
Member Author

@swift-ci please test

... to make sure we're not missing any odd corner cases here.
@DougGregor DougGregor changed the title p5.9] [Macros on Darwin] Use device platform paths when building for the simulator [5.9] [Macros on Darwin] Use device platform paths when building for the simulator Jul 20, 2023
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please test Windows

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