Skip to content

Commit bc0e6ab

Browse files
committed
Conditionalize Mutex.swift
1 parent e61671d commit bc0e6ab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stdlib/public/Synchronization/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ set(SWIFT_SYNCHRONIZATION_SOURCES
2626
${SWIFT_SYNCHRONIZATION_ATOMIC_SOURCES}
2727

2828
Cell.swift
29-
Mutex/Mutex.swift
3029
)
3130

3231
set(SWIFT_SYNCHRONIZATION_GYB_SOURCES
@@ -38,24 +37,28 @@ set(SWIFT_SYNCHRONIZATION_GYB_SOURCES
3837

3938
set(SWIFT_SYNCHRONIZATION_DARWIN_SOURCES
4039
Mutex/DarwinImpl.swift
40+
Mutex/Mutex.swift
4141
)
4242

4343
# Linux sources
4444

4545
set(SWIFT_SYNCHRONIZATION_LINUX_SOURCES
4646
Mutex/LinuxImpl.swift
47+
Mutex/Mutex.swift
4748
Mutex/SpinLoopHint.swift
4849
)
4950

5051
# Wasm sources
5152

5253
set(SWIFT_SYNCHRONIZATION_WASM_SOURCES
54+
Mutex/Mutex.swift
5355
Mutex/WasmImpl.swift
5456
)
5557

5658
# Windows sources
5759

5860
set(SWIFT_SYNCHRONIZATION_WINDOWS_SOURCES
61+
Mutex/Mutex.swift
5962
Mutex/WindowsImpl.swift
6063
)
6164

0 commit comments

Comments
 (0)