Skip to content

Conversation

egorzhdan
Copy link
Contributor

This fixes the Swift PR testing failures.

Motivation:

If C++ interop is not enabled, SwiftPM should not pass -Xcc -std=c++17 flags.

Result:

Only pass these flags if C++ interop is enabled.

Original PR: #7188

(cherry picked from commit 351222f)

…led (#7188)

This fixes the Swift PR testing failures.

### Motivation:

If C++ interop is not enabled, SwiftPM should not pass `-Xcc -std=c++17`
flags.

### Result:

Only pass these flags if C++ interop is enabled.

(cherry picked from commit 351222f)
@egorzhdan egorzhdan added bug C++ interop swift 5.10 This PR targets the 5.10 branch labels Dec 12, 2023
@mikeash mikeash merged commit 0c5312b into release/5.10 Dec 12, 2023
@mikeash mikeash deleted the egorzhdan/5.10-cpp-std-fix branch December 12, 2023 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug C++ interop swift 5.10 This PR targets the 5.10 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants