Skip to content

Commit d39b353

Browse files
committed
containertool: Switch to Swift 5 language mode
The nightly mainline compiler used by the pull request checks objects to the way containertool uses stderr. Switch to language mode 5 until this can be rewritten.
1 parent 5eb4b07 commit d39b353

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ let package = Package(
4343
.product(name: "ArgumentParser", package: "swift-argument-parser"),
4444
.product(name: "Crypto", package: "swift-crypto", condition: .when(platforms: [.linux])),
4545
.target(name: "ContainerRegistry"), .target(name: "VendorCNIOExtrasZlib"),
46-
]
46+
],
47+
swiftSettings: [.swiftLanguageMode(.v5)]
4748
),
4849
.target(
4950
// Vendored from https://github.com/apple/swift-nio-extras

0 commit comments

Comments
 (0)