Skip to content

Commit 8e1c741

Browse files
zoecarvercompnerd
authored andcommitted
Add _Concurrency module.
This is an empty module that silences compiler warnings.
1 parent d719eaf commit 8e1c741

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Sources/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ SPDX-License-Identifier: BSD-3
88
add_subdirectory(Runtime)
99
add_subdirectory(Core)
1010
add_subdirectory(Onone)
11+
add_subdirectory(_Concurrency)

Sources/_Concurrency/CMakeLists.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#[[
2+
Copyright © 2018 Saleem Abdulrasool <[email protected]>.
3+
All Rights Reserved.
4+
5+
SPDX-License-Identifier: BSD-3
6+
#]]
7+
8+
add_library(swift_Concurrency
9+
_Concurrency.swift)
10+
set_target_properties(swift_Concurrency PROPERTIES
11+
Swift_MODULE_NAME _Concurrency)
12+
target_compile_options(swift_Concurrency PRIVATE
13+
-parse-stdlib
14+
-disallow-use-new-driver
15+
"SHELL:-Xfrontend -enable-resilience")
16+
target_link_libraries(swift_Concurrency PUBLIC
17+
swiftCore)
18+
target_link_options(swift_Concurrency PRIVATE
19+
"SHELL:-Xclang-linker -nostdlib")

Sources/_Concurrency/_Concurrency.swift

Whitespace-only changes.

0 commit comments

Comments
 (0)