Skip to content

Commit b65546f

Browse files
committed
[cxx-interop] pass -std=c++20 to configurations using std::span
1 parent 796ccb7 commit b65546f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

benchmark/Package.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ targets.append(
127127
dependencies: swiftBenchDeps,
128128
path: "utils",
129129
sources: ["main.swift"],
130-
swiftSettings: [.unsafeFlags(["-Xfrontend",
131-
"-enable-experimental-cxx-interop",
130+
swiftSettings: [.unsafeFlags(["-cxx-interoperability-mode=default",
132131
"-I",
133132
"utils/CxxTests"])]))
134133

@@ -166,8 +165,7 @@ targets += cxxSingleSourceLibraries.map { name in
166165
dependencies: singleSourceDeps,
167166
path: "cxx-source",
168167
sources: ["\(name).swift"],
169-
swiftSettings: [.unsafeFlags(["-Xfrontend",
170-
"-enable-experimental-cxx-interop",
168+
swiftSettings: [.unsafeFlags(["-cxx-interoperability-mode=default",
171169
"-I",
172170
"utils/CxxTests",
173171
// FIXME: https://github.com/apple/swift/issues/61453

0 commit comments

Comments
 (0)