Skip to content

Commit 1326f82

Browse files
committed
[OSLog] Remove the dependency on _Concurrency
_Concurrency is not used in the module, and having it as a dependency causes a ninja error when trying to build stdlib without `-D SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY=YES`: ``` ninja: error: 'stdlib/private/OSLog/swift_Concurrency-swiftmodule-macosx-arm64', needed by 'stdlib/private/OSLog/OSX/arm64/OSLogTestHelper.o', missing and no known rule to make it ```
1 parent 4678496 commit 1326f82

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/private/OSLog/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ add_swift_target_library(swiftOSLogTestHelper
1414
OSLogPrivacy.swift
1515
OSLogFloatFormatting.swift
1616

17-
SWIFT_MODULE_DEPENDS_IOS Darwin _Concurrency
18-
SWIFT_MODULE_DEPENDS_OSX Darwin _Concurrency
19-
SWIFT_MODULE_DEPENDS_TVOS Darwin _Concurrency
20-
SWIFT_MODULE_DEPENDS_WATCHOS Darwin _Concurrency
17+
SWIFT_MODULE_DEPENDS_IOS Darwin
18+
SWIFT_MODULE_DEPENDS_OSX Darwin
19+
SWIFT_MODULE_DEPENDS_TVOS Darwin
20+
SWIFT_MODULE_DEPENDS_WATCHOS Darwin
2121
TARGET_SDKS ALL_APPLE_PLATFORMS
2222
SWIFT_COMPILE_FLAGS ${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
2323
INSTALL_IN_COMPONENT never_install

0 commit comments

Comments
 (0)