mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Enable strict concurrency checks
This commit is contained in:
1 parent
b11c5dd25b
commit
6aa43ded3c
2 files changed
+2
No files matched your search
@@ -6,6 +6,7 @@ import PackageDescription
|
|||||||
|
|
||||||
var swiftSettings: [SwiftSetting] = [
|
var swiftSettings: [SwiftSetting] = [
|
||||||
.define("SQLITE_ENABLE_FTS5"),
|
.define("SQLITE_ENABLE_FTS5"),
|
||||||
|
.enableUpcomingFeature("StrictConcurrency"),
|
||||||
]
|
]
|
||||||
var cSettings: [CSetting] = []
|
var cSettings: [CSetting] = []
|
||||||
var dependencies: [PackageDescription.Package.Dependency] = []
|
var dependencies: [PackageDescription.Package.Dependency] = []
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ MODULEMAP_FILE = $(SRCROOT)/Support/module.modulemap
|
|||||||
// Slow compilation hunt:
|
// Slow compilation hunt:
|
||||||
// OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -warn-long-expression-type-checking=100 -Xfrontend -warn-long-function-bodies=100
|
// OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -warn-long-expression-type-checking=100 -Xfrontend -warn-long-function-bodies=100
|
||||||
|
|
||||||
|
SWIFT_STRICT_CONCURRENCY = complete
|
||||||
Reference in new issue
Block a user