Skip to content

Commit

Permalink
🧹 Strict concurrency thing added (SPI recommendation)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-rocska committed Aug 2, 2024
1 parent 6008dc3 commit 47d7735
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ let package = Package(
name: "Beton",
dependencies: [
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms")
]
],
swiftSettings: swiftSettings
),
.target(
name: "XCTBeton",
dependencies: [
.byName(name: "Beton")
]
],
swiftSettings: swiftSettings
),
.testTarget(type: .unit),
.testTarget(type: .component),
Expand Down Expand Up @@ -63,3 +65,7 @@ extension PackageDescription.Target {
)
}
}

let swiftSettings: [SwiftSetting] = [
.unsafeFlags(["-Xfrontend", "-strict-concurrency=complete"])
]

0 comments on commit 47d7735

Please sign in to comment.