From e7c208e099d1981e48cb77e20440a9b6688f929d Mon Sep 17 00:00:00 2001 From: Aurelien Bidon Date: Fri, 3 Nov 2023 12:17:18 +0100 Subject: [PATCH 1/2] Fix compilation issue for x64 hardware --- Sources/DataKit/Values/ReadWritable+FloatingPoint.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/DataKit/Values/ReadWritable+FloatingPoint.swift b/Sources/DataKit/Values/ReadWritable+FloatingPoint.swift index 90908eb..9f86169 100644 --- a/Sources/DataKit/Values/ReadWritable+FloatingPoint.swift +++ b/Sources/DataKit/Values/ReadWritable+FloatingPoint.swift @@ -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 {} From be56bb69bf729c5acfec6634197a836f87168522 Mon Sep 17 00:00:00 2001 From: Aurelien Bidon Date: Thu, 14 Mar 2024 17:00:18 -0500 Subject: [PATCH 2/2] Bump crc-swift to 0.1.1 --- Package.resolved | 4 ++-- Package.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Package.resolved b/Package.resolved index 5a99654..5bf75b9 100644 --- a/Package.resolved +++ b/Package.resolved @@ -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" } } ] diff --git a/Package.swift b/Package.swift index fd107db..0d62ccb 100644 --- a/Package.swift +++ b/Package.swift @@ -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: [