Skip to content

Commit 08d522a

Browse files
committed
Runtimes: repair the Supplemental runtime on Android
Adjust the build rules to account for Android which is a separate platform from Linux.
1 parent 9a4ba6f commit 08d522a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtimes/Supplemental/Synchronization/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ add_library(swiftSynchronization
9898
Cell.swift
9999
Mutex/Mutex.swift
100100
$<$<PLATFORM_ID:Darwin>:Mutex/DarwinImpl.swift>
101-
$<$<PLATFORM_ID:Linux>:Mutex/LinuxImpl.swift>
102-
$<$<PLATFORM_ID:WASI>:Mutex/SpinLoopHint.swift>
101+
$<$<PLATFORM_ID:Android,Linux>:Mutex/LinuxImpl.swift>
102+
$<$<PLATFORM_ID:Android,WASI>:Mutex/SpinLoopHint.swift>
103103
$<$<PLATFORM_ID:Windows>:Mutex/WindowsImpl.swift>)
104104

105105
set_target_properties(swiftSynchronization PROPERTIES

0 commit comments

Comments
 (0)