mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SwiftCompilerSources: set the C++ language to C++17
LLVM, clang, and Swift use C++17. Explicitly specify the C++ language standard to use.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// swift-tools-version:5.3
|
||||
// swift-tools-version:5.4
|
||||
//===--- Package.swift.in - SwiftCompiler SwiftPM package -----------------===//
|
||||
//
|
||||
// This source file is part of the Swift.org open source project
|
||||
@@ -86,5 +86,6 @@ let package = Package(
|
||||
.compilerModuleTarget(
|
||||
name: "Optimizer",
|
||||
dependencies: ["Basic", "SIL", "Parse"]),
|
||||
]
|
||||
],
|
||||
cxxLanguageStandard: .cxx17
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user