Skip to content

Commit

Permalink
Add “StrictConcurrency” experimental feature
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Apr 2, 2024
1 parent 731037f commit 618b78e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.4
// swift-tools-version: 5.8

import PackageDescription

Expand All @@ -8,12 +8,15 @@ let package = Package(
.library(name: "Gzip", targets: ["Gzip"]),
],
targets: [
.target(name: "Gzip", dependencies: ["system-zlib"]),
.target(name: "Gzip",
dependencies: ["system-zlib"],
swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]),
.target(name: "system-zlib"),
.testTarget(
name: "GzipTests",
dependencies: ["Gzip"],
resources: [.copy("./test.txt.gz")]
resources: [.copy("./test.txt.gz")],
swiftSettings: [.enableExperimentalFeature("StrictConcurrency")]
),
]
)

0 comments on commit 618b78e

Please sign in to comment.