Skip to content

Commit 0689b48

Browse files
remove requirement for swift 6.2 - backwards compatibility down to 5.8
1 parent 4345c0d commit 0689b48

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Package@swift-5.8.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ let availabilityMacros: [SwiftSetting] = [
1010
"AvailabilityMacro=AsyncAlgorithms 1.0:macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0"
1111
),
1212
.enableExperimentalFeature(
13-
"AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"
13+
"AvailabilityMacro=AsyncAlgorithms 1.1:macOS 11.0, iOS 14.0, tvOS 14.0, watchOS 7.0, visionOS 1.0"
14+
),
15+
.enableExperimentalFeature(
16+
"AvailabilityMacro=AsyncAlgorithms 1.2:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"
1417
),
1518
]
1619

Sources/AsyncAlgorithms/AsyncShareSequence.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// See https://swift.org/LICENSE.txt for license information
99
//
1010
//===----------------------------------------------------------------------===//
11-
#if compiler(>=6.2)
1211

1312
import Synchronization
1413
import DequeModule
@@ -733,4 +732,3 @@ extension AsyncShareSequence: AsyncSequence {
733732
}
734733
}
735734

736-
#endif

0 commit comments

Comments
 (0)