File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,11 @@ import Foundation
1616
import PackageDescription
1717

1818
// General Swift-settings for all targets.
19-
var swiftSettings: [SwiftSetting] = []
20-
21-
#if swift(>=5.9)
22-
swiftSettings.append(
19+
let swiftSettings: [SwiftSetting] = [
2320
// https://.com/apple/swift-evolution/blob/main/proposals/0335-existential-any.md
2421
// Require `any` for existential types.
2522
.enableUpcomingFeature("ExistentialAny")
26-
)
27-
#endif
23+
]
2824

2925
let package = Package(
3026
name: "swift-openapi-async-http-client",

0 commit comments

Comments
 (0)