Full Swift 6 packages support

This commit is contained in:
Thomas Ricouard 2024-08-12 22:11:38 +02:00
parent a184351cf3
commit e618ebf8f6
14 changed files with 1 additions and 14 deletions

View file

@ -13,7 +13,7 @@ import Models
import Network
// Sample code was sending this from a thread to another, let asume @Sendable for this
extension NSExtensionContext: @unchecked Sendable {}
extension NSExtensionContext: @unchecked @retroactive Sendable {}
final class ActionRequestHandler: NSObject, NSExtensionRequestHandling, Sendable {
enum Error: Swift.Error {

View file

@ -35,7 +35,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
.testTarget(

View file

@ -33,7 +33,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
]

View file

@ -33,7 +33,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
]

View file

@ -34,7 +34,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
]

View file

@ -31,7 +31,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
.testTarget(

View file

@ -37,7 +37,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
]

View file

@ -35,7 +35,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
]

View file

@ -29,7 +29,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
]

View file

@ -27,7 +27,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
.testTarget(

View file

@ -27,7 +27,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
.testTarget(

View file

@ -35,7 +35,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
]

View file

@ -39,7 +39,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
]

View file

@ -39,7 +39,6 @@ let package = Package(
],
swiftSettings: [
.swiftLanguageMode(.v6),
.enableExperimentalFeature("StrictConcurrency"),
]
),
.testTarget(