Skip to content

Commit 9850a28

Browse files
authored
Disable use-std-function.swift on ubuntu-24.10 (#77002)
The test is failing because a templated constructor of std::function with an rvalue-reference parameter is called, which isn't supported yet. rdar://137637142
1 parent 6a4b1cc commit 9850a28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/Interop/Cxx/stdlib/use-std-function.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// libstdc++11 declares a templated constructor of std::function with an rvalue-reference parameter,
1111
// which aren't yet supported in Swift. Therefore initializing a std::function from Swift closures
1212
// will not work on the platforms that are shipped with this version of libstdc++ (rdar://125816354).
13+
// XFAIL: LinuxDistribution=ubuntu-24.10
1314
// XFAIL: LinuxDistribution=ubuntu-22.04
1415
// XFAIL: LinuxDistribution=rhel-9.3
1516
// XFAIL: LinuxDistribution=rhel-9.4

0 commit comments

Comments
 (0)