Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Commit d2477af

Browse files
authored
Enable strict concurrency (#44)
### Motivation: Catch potential data races at build time. ### Modifications: - Enabled strict concurrency checking in Package.swift. ### Result: Fewer potential data races can sneak in. ### Test Plan Ran tests locally, did not see any concurrency warnings or errors.
1 parent aa45526 commit d2477af

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Package.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,9 @@ let package = Package(
3636
),
3737
]
3838
)
39+
40+
for target in package.targets {
41+
var settings = target.swiftSettings ?? []
42+
settings.append(.enableExperimentalFeature("StrictConcurrency=complete"))
43+
target.swiftSettings = settings
44+
}

0 commit comments

Comments
 (0)