Skip to content

Commit 68e1492

Browse files
committed
yet another stab at 5.10 visionOS guards
1 parent 4701e2b commit 68e1492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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)
7+
#if compiler(>=6.0) && swift(>=6.0) // 5.10 doesnt support visionOS availability
88
let AsyncAlgorithms_v1_1 =
99
"AvailabilityMacro=AsyncAlgorithms 1.1:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"
1010
#else

0 commit comments

Comments
 (0)