File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
84
84
endif ()
85
85
endif ()
86
86
87
+ if (NOT SWIFT_STDLIB_SINGLE_THREADED_RUNTIME )
88
+ list (APPEND PLATFORM_SOURCES Mutex.cpp )
89
+ endif ()
90
+
87
91
if (SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED )
88
92
# list(APPEND PLATFORM_SOURCES
89
93
# DistributedActor.cpp
@@ -98,15 +102,15 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
98
102
weak.mm
99
103
Refcounting.mm
100
104
Actor.cpp
101
- TaskStatus.cpp )
105
+ TaskStatus.cpp
106
+ Mutex.cpp )
102
107
103
108
add_swift_unittest (SwiftRuntimeTests
104
109
Array.cpp
105
110
CompatibilityOverrideRuntime.cpp
106
111
CompatibilityOverrideConcurrency.cpp
107
112
Concurrent.cpp
108
113
Metadata.cpp
109
- Mutex.cpp
110
114
Enum.cpp
111
115
Refcounting.cpp
112
116
Stdlib.cpp
You can’t perform that action at this time.
0 commit comments