File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1- // swift-tools-version: 5.9
1+ // swift-tools-version: 6.0
22
33import PackageDescription
44
@@ -26,7 +26,8 @@ let package = Package(
2626 " ConcurrencyExtras "
2727 ]
2828 ) ,
29- ]
29+ ] ,
30+ swiftLanguageModes: [ . v6]
3031)
3132
3233#if !os(Windows)
@@ -35,10 +36,3 @@ let package = Package(
3536 . package ( url: " https://github.com/apple/swift-docc-plugin " , from: " 1.0.0 " )
3637 )
3738#endif
38-
39- for target in package . targets {
40- target. swiftSettings = target. swiftSettings ?? [ ]
41- target. swiftSettings!. append ( contentsOf: [
42- . enableExperimentalFeature( " StrictConcurrency " )
43- ] )
44- }
Original file line number Diff line number Diff line change 1- // swift-tools-version: 6.0
1+ // swift-tools-version: 5.9
22
33import PackageDescription
44
@@ -26,8 +26,7 @@ let package = Package(
2626 " ConcurrencyExtras "
2727 ]
2828 ) ,
29- ] ,
30- swiftLanguageModes: [ . v6]
29+ ]
3130)
3231
3332#if !os(Windows)
@@ -36,3 +35,10 @@ let package = Package(
3635 . package ( url: " https://github.com/apple/swift-docc-plugin " , from: " 1.0.0 " )
3736 )
3837#endif
38+
39+ for target in package . targets {
40+ target. swiftSettings = target. swiftSettings ?? [ ]
41+ target. swiftSettings!. append ( contentsOf: [
42+ . enableExperimentalFeature( " StrictConcurrency " )
43+ ] )
44+ }
You can’t perform that action at this time.
0 commit comments