mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #76207 from swiftlang/susmonteiro/cxx-span-benchmarks
[cxx-interop] pass `-std=c++20` to configurations using `std::span`
This commit is contained in:
@@ -127,8 +127,7 @@ targets.append(
|
||||
dependencies: swiftBenchDeps,
|
||||
path: "utils",
|
||||
sources: ["main.swift"],
|
||||
swiftSettings: [.unsafeFlags(["-Xfrontend",
|
||||
"-enable-experimental-cxx-interop",
|
||||
swiftSettings: [.unsafeFlags(["-cxx-interoperability-mode=default",
|
||||
"-I",
|
||||
"utils/CxxTests"])]))
|
||||
|
||||
@@ -166,8 +165,7 @@ targets += cxxSingleSourceLibraries.map { name in
|
||||
dependencies: singleSourceDeps,
|
||||
path: "cxx-source",
|
||||
sources: ["\(name).swift"],
|
||||
swiftSettings: [.unsafeFlags(["-Xfrontend",
|
||||
"-enable-experimental-cxx-interop",
|
||||
swiftSettings: [.unsafeFlags(["-cxx-interoperability-mode=default",
|
||||
"-I",
|
||||
"utils/CxxTests",
|
||||
// FIXME: https://github.com/apple/swift/issues/61453
|
||||
|
||||
Reference in New Issue
Block a user