[6.0] Fix add_swift_target_library for the static SDK #75791
Fix add_swift_target_library for the static SDK
b5e98974
etcwilde
requested a review
335 days ago
al45tair
approved these changes
on 2024-08-09
etcwilde
changed the title Fix add_swift_target_library for the static SDK [6.0] Fix add_swift_target_library for the static SDK 330 days ago
shahmishal
merged
400045b1
into release/6.0 324 days ago
Assignees
No one assigned
add_swift_target_library was missing pieces for passing sources and flags to the static SDK build. As a result, the static SDK was missing pieces (specifically Mutex).
Also adding the Musl import to the Linux Mutex implementation.
Explanation: This change hooks up the linux static SDK as a platform so that it builds again after the landing of the Synchronization library. Without it, types like
Mutex
are missing from the standard library.Scope: This affects the Linux Static SDK builds.
Risk: Low. This only affects the Linux Static SDK builds, which are currently broken anyway.
Reviewed By: Alastair Houghton
main PR: #75870