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
8484 endif ()
8585 endif ()
8686
87+ if (NOT SWIFT_STDLIB_SINGLE_THREADED_RUNTIME)
88+ list (APPEND PLATFORM_SOURCES Mutex.cpp)
89+ endif ()
90+
8791 if (SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED)
8892# list(APPEND PLATFORM_SOURCES
8993# DistributedActor.cpp
@@ -98,15 +102,15 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
98102 weak.mm
99103 Refcounting.mm
100104 Actor.cpp
101- TaskStatus.cpp)
105+ TaskStatus.cpp
106+ Mutex.cpp)
102107
103108 add_swift_unittest(SwiftRuntimeTests
104109 Array.cpp
105110 CompatibilityOverrideRuntime.cpp
106111 CompatibilityOverrideConcurrency.cpp
107112 Concurrent.cpp
108113 Metadata.cpp
109- Mutex.cpp
110114 Enum.cpp
111115 Refcounting.cpp
112116 Stdlib.cpp
You can’t perform that action at this time.
0 commit comments