Skip to content

Commit

Permalink
Enable strict concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
czechboy0 committed Dec 12, 2024
1 parent 046eada commit 99dc2b6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.7
// swift-tools-version:5.9
//===----------------------------------------------------------------------===//
//
// This source file is part of the SwiftPrometheus open source project
Expand Down Expand Up @@ -44,3 +44,9 @@ let package = Package(
),
]
)

for target in package.targets {
var settings = target.swiftSettings ?? []
settings.append(.enableExperimentalFeature("StrictConcurrency=complete"))
target.swiftSettings = settings
}

0 comments on commit 99dc2b6

Please sign in to comment.