File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version:5.4
1
+ // swift-tools-version:5.9
2
2
3
3
import PackageDescription
4
4
import Foundation
@@ -127,11 +127,9 @@ targets.append(
127
127
dependencies: swiftBenchDeps,
128
128
path: " utils " ,
129
129
sources: [ " main.swift " ] ,
130
- swiftSettings: [ . unsafeFlags( [ " -cxx-interoperability-mode=default " ,
131
- " -I " ,
132
- " utils/CxxTests " ,
133
- // FIXME(rdar://136138941): these flags should be redundant because of cxxLanguageStandard
134
- " -Xcc " , " -std=c++20 " ] ) ] ) )
130
+ swiftSettings: [ . interoperabilityMode( . Cxx) ,
131
+ . unsafeFlags( [ " -I " ,
132
+ " utils/CxxTests " ] ) ] ) )
135
133
136
134
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
137
135
targets. append (
@@ -167,11 +165,9 @@ targets += cxxSingleSourceLibraries.map { name in
167
165
dependencies: singleSourceDeps,
168
166
path: " cxx-source " ,
169
167
sources: [ " \( name) .swift " ] ,
170
- swiftSettings: [ . unsafeFlags ( [ " -cxx-interoperability-mode=default " ,
171
- " -I " ,
168
+ swiftSettings: [ . interoperabilityMode ( . Cxx ) ,
169
+ . unsafeFlags ( [ " -I " ,
172
170
" utils/CxxTests " ,
173
- // FIXME(rdar://136138941): these flags should be redundant because of cxxLanguageStandard
174
- " -Xcc " , " -std=c++20 " ,
175
171
// FIXME: https://github.com/apple/swift/issues/61453
176
172
" -Xfrontend " , " -validate-tbd-against-ir=none " ] ) ] )
177
173
}
You can’t perform that action at this time.
0 commit comments