File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
stdlib/public/Darwin/XCTest Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,14 @@ add_swift_target_library(swiftXCTest ${SWIFT_SDK_OVERLAY_LIBRARY_BUILD_TYPES} IS
7
7
XCTestCaseAdditions.mm
8
8
XCTest.swift
9
9
10
- SWIFT_COMPILE_FLAGS "${SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS} "
10
+ SWIFT_COMPILE_FLAGS
11
+ "${SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS} "
12
+
13
+ # XCTest has a type called XCTest, which exposes an issue in module
14
+ # interfaces -- because types are fully-qualified, the compiler currently
15
+ # doesn't disambiguate between XCTest-the-module and XCTest-the-class.
16
+ # rdar://48445154
17
+ -Xfrontend -module-interface-preserve-types-as-written
11
18
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS} "
12
19
TARGET_SDKS OSX IOS IOS_SIMULATOR TVOS TVOS_SIMULATOR
13
20
SWIFT_MODULE_DEPENDS ObjectiveC Foundation
You can’t perform that action at this time.
0 commit comments