File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
stdlib/public/Synchronization Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -194,12 +194,12 @@ if(SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB)
194194 endif ()
195195
196196 set (SWIFT_SYNCHRONIZATION_EMBEDDED_SOURCES)
197- list (APPEND SWIFT_SYNCHRONIZATION_EMBEDDED_SOURCES ${SWIFT_SYNCHRONIZATION_ATOMIC_SOURCES} )
198197
199198 if ("${arch} " MATCHES "wasm32" )
200- list (APPEND SWIFT_SYNCHRONIZATION_EMBEDDED_SOURCES
201- ${SWIFT_SYNCHRONIZATION_WASM_SOURCES}
202- )
199+ list (APPEND SWIFT_SYNCHRONIZATION_EMBEDDED_SOURCES ${SWIFT_SYNCHRONIZATION_SOURCES} )
200+ list (APPEND SWIFT_SYNCHRONIZATION_EMBEDDED_SOURCES ${SWIFT_SYNCHRONIZATION_WASM_SOURCES} )
201+ else ()
202+ list (APPEND SWIFT_SYNCHRONIZATION_EMBEDDED_SOURCES ${SWIFT_SYNCHRONIZATION_ATOMIC_SOURCES} )
203203 endif ()
204204
205205 add_swift_target_library_single(
You can’t perform that action at this time.
0 commit comments