Skip to content

Commit 8260934

Browse files
committed
SwiftCompilerSources: set the C++ language to C++17
LLVM, clang, and Swift use C++17. Explicitly specify the C++ language standard to use.
1 parent f02ca3b commit 8260934

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

SwiftCompilerSources/Package.swift

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.3
1+
// swift-tools-version:5.4
22
//===--- Package.swift.in - SwiftCompiler SwiftPM package -----------------===//
33
//
44
// This source file is part of the Swift.org open source project
@@ -86,5 +86,6 @@ let package = Package(
8686
.compilerModuleTarget(
8787
name: "Optimizer",
8888
dependencies: ["Basic", "SIL", "Parse"]),
89-
]
89+
],
90+
cxxLanguageStandard: .cxx17
9091
)

0 commit comments

Comments
 (0)