Skip to content

Commit 0233b94

Browse files
committed
[Concurrency] Define the availability macro SwiftStdlib 5.5
The use of an availability macro will make it easier to update those versions to the marketing versions when they are announced. Plus internal branches can redefine only the macro for customized availability.
1 parent 1263da1 commit 0233b94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/Concurrency/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ add_swift_target_library(swift_Concurrency ${SWIFT_STDLIB_LIBRARY_BUILD_TYPES} I
8989
${SWIFT_STANDARD_LIBRARY_SWIFT_FLAGS}
9090
-parse-stdlib
9191
-Xfrontend -enable-experimental-concurrency
92+
-Xfrontend -define-availability
93+
-Xfrontend \"SwiftStdlib 5.5:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999\"
9294
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
9395
INSTALL_IN_COMPONENT stdlib
9496
)

0 commit comments

Comments
 (0)