Skip to content

Commit 46e2e69

Browse files
authored
Add Swift 5.7 to swiftVersion property (#416)
1 parent 5c76b8f commit 46e2e69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Packages/ClientRuntime/Sources/Util/SwiftVersion.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
//
77

88
public var swiftVersion: String {
9-
#if swift(>=5.7)
9+
#if swift(>=5.8)
1010
#error("Cannot use a version of Swift greater than available. Please create a Github issue for us to add support for the version of Swift you want to use.")
11+
#elseif swift(>=5.7)
12+
return "5.7"
1113
#elseif swift(>=5.6)
1214
return "5.6"
1315
#elseif swift(>=5.5)

0 commit comments

Comments
 (0)