Skip to content

Commit 1d1ebbe

Browse files
authored
Update the Swift tools version to 6.0 (#1268)
1 parent 3c67f9a commit 1d1ebbe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Package.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.9
1+
// swift-tools-version:6.0
22
/*
33
This source file is part of the Swift.org open source project
44

@@ -15,6 +15,8 @@ import class Foundation.ProcessInfo
1515
let swiftSettings: [SwiftSetting] = [
1616
.unsafeFlags(["-Xfrontend", "-warn-long-expression-type-checking=1000"], .when(configuration: .debug)),
1717

18+
.swiftLanguageMode(.v5),
19+
1820
.enableUpcomingFeature("ConciseMagicFile"), // SE-0274: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0274-magic-file.md
1921
.enableUpcomingFeature("ExistentialAny"), // SE-0335: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0335-existential-any.md
2022
.enableUpcomingFeature("InternalImportsByDefault"), // SE-0409: https://github.com/swiftlang/swift-evolution/blob/main/proposals/0409-access-level-on-imports.md
@@ -23,8 +25,8 @@ let swiftSettings: [SwiftSetting] = [
2325
let package = Package(
2426
name: "SwiftDocC",
2527
platforms: [
26-
.macOS(.v12),
27-
.iOS(.v15)
28+
.macOS(.v13),
29+
.iOS(.v16)
2830
],
2931
products: [
3032
.library(

0 commit comments

Comments
 (0)