mirror of
https://github.com/apple/swift.git
synced 2026-11-20 05:27:31 +01:00
Under interface-LTO the Synchronization library's archive holds real code that clients must link against; under the default Inlinable model it's empty. Introduce a lit substitution that always adds `-lswiftSynchronization` and thread it through every executable embedded test that `import`s Synchronization. Harmless under default codegen (the archive is empty), load-bearing under interface-LTO.