Skip to content

Commit a58feb3

Browse files
committed
[cxx-interop] Only run tests for reference types against a recent Swift 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)
1 parent b3c5d28 commit a58feb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/Interop/Cxx/foreign-reference/reference-counted.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
// REQUIRES: executable_test
55
// XFAIL: OS=windows-msvc
66

7-
// Temporarily disable on arm64e (rdar://128681137)
8-
// UNSUPPORTED: CPU=arm64e
7+
// Temporarily disable when running with an older runtime (rdar://128681137)
8+
// UNSUPPORTED: use_os_stdlib
9+
// UNSUPPORTED: back_deployment_runtime
910

1011
import StdlibUnittest
1112
import ReferenceCounted

0 commit comments

Comments
 (0)