Skip to content

🍒[cxx-interop] Disable test with an older runtime #82419

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 2 commits into from
Jun 24, 2025

Conversation

egorzhdan
Copy link
Contributor

@egorzhdan egorzhdan commented Jun 23, 2025

848fad0 introduced support for printing foreign reference types. It changes both the compiler and the runtime, and having the runtime change applied is required for the test to pass. Let's not try to run it with an old runtime.

This change also splits up a test for printing of value types from a test for printing of foreign reference types, since we don't have any runtime restrictions for value types.

rdar://153205860
(cherry picked from commit 62d5606)
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Jun 23, 2025
The runtime logic for printing a foreign reference type is behind `if #available(SwiftStdlib 6.2, *)`, which means it won't run on older versions of macOS, even if you use a newer Swift runtime.

rdar://153735437
(cherry picked from commit a292113)
@egorzhdan
Copy link
Contributor Author

@swift-ci please test

@egorzhdan egorzhdan marked this pull request as ready for review June 24, 2025 12:43
@egorzhdan egorzhdan requested a review from a team as a code owner June 24, 2025 12:43
@egorzhdan egorzhdan merged commit ee86a80 into release/6.2 Jun 24, 2025
5 checks passed
@egorzhdan egorzhdan deleted the egorzhdan/6.2-old-runtime-tests branch June 24, 2025 21:33
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.

3 participants