Skip to content

Commit fb37d76

Browse files
committed
Revert "Speculative 5.10 build fix"
This reverts commit 089cb5e.
1 parent 089cb5e commit fb37d76

File tree

2 files changed

+4
-99
lines changed

2 files changed

+4
-99
lines changed

Package.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ import PackageDescription
44
import CompilerPluginSupport
55

66
let AsyncAlgorithms_v1_0 = "AvailabilityMacro=AsyncAlgorithms 1.0:macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0"
7+
#if compiler(>=6.0) && swift(>=6.0) // 5.10 doesnt support visionOS availability
78
let AsyncAlgorithms_v1_1 =
89
"AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"
10+
#else
11+
let AsyncAlgorithms_v1_1 = "AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0"
12+
#endif
913

1014
let availabilityMacros: [SwiftSetting] = [
1115
.enableExperimentalFeature(

[email protected]

Lines changed: 0 additions & 99 deletions
This file was deleted.

0 commit comments

Comments
 (0)