mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When importing C functions with availability attributes, we don't properly use that information to decide whether a symbol should be weak_extern, causing load failures in dylibs that reference these symbols when deployed to an older OS. This is a very targeted fix and we need a better architecture for deciding this. rdar://problem/26359452