Skip to content

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.

4 participants