mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
`__builtin_available` requires linking compiler-rt, which is not easier to do within the backward compatibility libraries. Instead, use an API that's been in the standard library since before Swift 5.0 for the version check.