Closed stephentyrone closed 3 years ago
Xcode 12 on Catalina has Swift 5.3 but the macOS 10.15 SDK, which breaks the conditionals around Float16. Since the type is unconditionally unavailable on macOS, we can simply #if-out any Float16 extensions instead.
#if
@lorentey yeah, step 2 here is definitely to figure out how to avoid this mess in the future =)
Xcode 12 on Catalina has Swift 5.3 but the macOS 10.15 SDK, which breaks the conditionals around Float16. Since the type is unconditionally unavailable on macOS, we can simply
#if
-out any Float16 extensions instead.