Thanks to visit codestin.com
Credit goes to github.com

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.

@egorzhdan
Copy link
Contributor Author

@swift-ci please test

@mikeash mikeash merged commit 351222f into main Dec 12, 2023
@mikeash mikeash deleted the egorzhdan/cpp-std-fix branch December 12, 2023 15:28
egorzhdan added a commit that referenced this pull request Dec 12, 2023
…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)
mikeash pushed a commit that referenced this pull request Dec 12, 2023
…bled (#7194)

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants