Skip to content

Commit

Permalink
Merge pull request #2 from Beam-Studio/main
Browse files Browse the repository at this point in the history
Fix compilation issue for x64 hardware
  • Loading branch information
pauljohanneskraft authored Mar 14, 2024
2 parents f896eeb + be56bb6 commit 37d845d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"repositoryURL": "https://github.com/QuickBirdEng/crc-swift.git",
"state": {
"branch": null,
"revision": "136db0392ff9afdd1fe51bc1fdc05aaf7585bc88",
"version": "0.1.0"
"revision": "0616be13dec7b6dc4b55e266cba39c1772902b08",
"version": "0.1.1"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/QuickBirdEng/crc-swift.git",
from: "0.1.0"
from: "0.1.1"
),
],
targets: [
Expand Down
3 changes: 3 additions & 0 deletions Sources/DataKit/Values/ReadWritable+FloatingPoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ public protocol FixedWidthFloatingPoint: BinaryFloatingPoint {
var bitPattern: BitPattern { get }
}

#if arch(arm64)
@available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)
extension Float16: FixedWidthFloatingPoint, ReadWritable {}
#endif

extension Float32: FixedWidthFloatingPoint, ReadWritable {}
extension Float64: FixedWidthFloatingPoint, ReadWritable {}

Expand Down

0 comments on commit 37d845d

Please sign in to comment.