Skip to content

Commit

Permalink
Fixed a compilation issue for universal binaries where Float16 is una…
Browse files Browse the repository at this point in the history
…vailable on Intel
  • Loading branch information
dimitribouniol committed Jul 8, 2024
1 parent 3e5b9fe commit bb6772f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/CodableDatastore/Indexes/Indexable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ extension Double: RangedIndexable {}
@available(macOS 13.0, iOS 16, tvOS 16, watchOS 9, *)
extension Duration: RangedIndexable {}
extension Float: RangedIndexable {}
#if arch(arm64)
@available(macOS 11.0, iOS 14, tvOS 14, watchOS 7, *)
extension Float16: RangedIndexable {}
#endif
extension Int: DiscreteIndexable, RangedIndexable {}
extension Int8: DiscreteIndexable, RangedIndexable {}
extension Int16: DiscreteIndexable, RangedIndexable {}
Expand Down

0 comments on commit bb6772f

Please sign in to comment.