Skip to content

Commit

Permalink
enable StrictConcurrency build setting
Browse files Browse the repository at this point in the history
  • Loading branch information
weissi committed Aug 7, 2024
1 parent 54d1006 commit 8ca426d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ let package = Package(
.product(name: "Logging", package: "swift-log"),
.product(name: "Atomics", package: "swift-atomics"),
.product(name: "Algorithms", package: "swift-algorithms"),
],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency")
]
),
.testTarget(
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:

test:
<<: *common
command: /bin/bash -xcl "swift test --parallel -Xswiftc -warnings-as-errors --enable-test-discovery $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"
command: /bin/bash -xcl "swift test --parallel --enable-test-discovery $${SANITIZER_ARG-} $${IMPORT_CHECK_ARG-}"

# util

Expand Down

0 comments on commit 8ca426d

Please sign in to comment.