Skip to content

🍒[cxx-interop] Only run tests for reference types against a recent Swift runtime #74293

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
merged 1 commit into from
Jun 12, 2024

Conversation

egorzhdan
Copy link
Contributor

@egorzhdan egorzhdan commented Jun 11, 2024

Explanation: Having a Swift array of C++ reference types without crashing at runtime only became possible recently (#73615). When building against an older runtime, one would still see runtime crashes. This is expected because part of the fix is in the Swift runtime.
This makes sure we don't try to run tests for C++ reference types with an older Swift runtime.
Scope: Only changes tests.
Risk: Low.
Issue: rdar://128681137

Original PR: #74261

…ft runtime

Having a Swift array of C++ reference types without crashing at runtime only became possible recently (#73615). When building against an older runtime, one would still see runtime crashes. This is expected because part of the fix is in the Swift runtime.

This makes sure we don't try to run tests for C++ reference types with an older Swift runtime.

rdar://128681137
(cherry picked from commit 0f420fe)
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Jun 11, 2024
@egorzhdan
Copy link
Contributor Author

@swift-ci please test

@egorzhdan egorzhdan marked this pull request as ready for review June 11, 2024 13:58
@egorzhdan egorzhdan requested a review from a team as a code owner June 11, 2024 13:58
@shahmishal shahmishal merged commit e7c2412 into release/6.0 Jun 12, 2024
5 checks passed
@shahmishal shahmishal deleted the egorzhdan/6.0-old-runtime-test branch June 12, 2024 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants