Skip to content

Commit

Permalink
feat(minor): Lower required swift-system version to 1.1 to facilitate…
Browse files Browse the repository at this point in the history
… benchmark adoption for more users (#203)

Decrease the required swift-system version from 1.2 to 1.1 to allow formore projects to adopt package-benchmark - we don't strictly require anything from 1.2.
  • Loading branch information
hassila authored Nov 28, 2023
1 parent 9397135 commit f629323
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-system", .upToNextMajor(from: "1.2.0")),
.package(url: "https://github.com/apple/swift-system", .upToNextMajor(from: "1.1.0")),
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMajor(from: "1.1.0")),
.package(url: "https://github.com/swift-extras/swift-extras-json", .upToNextMajor(from: "0.6.0")),
// .package(url: "https://github.com/SwiftPackageIndex/SPIManifest", from: "0.12.0"),
Expand Down
1 change: 0 additions & 1 deletion Tests/BenchmarkTests/OperatingSystemAndMallocTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ final class OperatingSystemAndMallocTests: XCTestCase {
let stopStats = ARCStatsProducer.makeARCStats()

XCTAssertGreaterThanOrEqual(stopStats.objectAllocCount - startStats.objectAllocCount, 100)
XCTAssertGreaterThanOrEqual(stopStats.retainCount - startStats.retainCount, 100)
XCTAssertGreaterThanOrEqual(stopStats.releaseCount - startStats.releaseCount, 100)
}

Expand Down

0 comments on commit f629323

Please sign in to comment.