File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version:5.0
1
+ // swift-tools-version:5.4
2
2
3
3
import PackageDescription
4
4
import Foundation
@@ -191,5 +191,6 @@ let p = Package(
191
191
name: " swiftbench " ,
192
192
products: products,
193
193
targets: targets,
194
- swiftLanguageVersions: [ . v4]
194
+ swiftLanguageVersions: [ . v4] ,
195
+ cxxLanguageStandard: . cxx20
195
196
)
Original file line number Diff line number Diff line change @@ -485,6 +485,7 @@ function (swift_benchmark_compile_archopts)
485
485
set (cxx_options "" )
486
486
if ("${module_name_path} " MATCHES ".*cxx-source/.*" )
487
487
list (APPEND cxx_options "-Xfrontend" "-enable-experimental-cxx-interop" "-I" "${srcdir} /utils/CxxTests/" )
488
+ list (APPEND cxx_options "-Xcc" "-std=c++20" )
488
489
# FIXME: https://github.com/apple/swift/issues/61453
489
490
list (APPEND cxx_options "-Xfrontend" "-validate-tbd-against-ir=none" )
490
491
endif ()
@@ -596,6 +597,7 @@ function (swift_benchmark_compile_archopts)
596
597
"-emit-module" "-module-name" "${module_name} "
597
598
"-I" "${objdir} "
598
599
"-Xfrontend" "-enable-experimental-cxx-interop"
600
+ "-Xcc" "-std=c++20"
599
601
"-I" "${srcdir} /utils/CxxTests/"
600
602
"-o" "${objdir} /${module_name} .o"
601
603
"${source} " )
You can’t perform that action at this time.
0 commit comments