Skip to content

Commit 4e33224

Browse files
committed
Stop importing CF as a framework
Frameworks don't exist off of Darwin resulting in link failures in this test. The CF modulemap declares CF as a framework everywhere, which is wrong, but importing CF from swift-corelibs-foundation is also equally wrong, which this test does as well, so there's a lot of wrongness. To get the rebranch working, we need to stop importing CoreFoundation as a framework in this test, or disable the test on non-darwin platforms. Given that corelibs-xctest is for non-Darwin platforms, that seems like the wrong course of action.
1 parent aba63a7 commit 4e33224

File tree

1 file changed

+1
-1
lines changed
  • Tests/Functional/Asynchronous/Expectations

1 file changed

+1
-1
lines changed

Tests/Functional/Asynchronous/Expectations/main.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %{swiftc} %s -o %T/Asynchronous
1+
// RUN: %{swiftc} -Xfrontend -disable-autolink-framework -Xfrontend CoreFoundation %s -o %T/Asynchronous
22
// RUN: %T/Asynchronous > %t || true
33
// RUN: %{xctest_checker} %t %s
44

0 commit comments

Comments
 (0)