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
22
33import PackageDescription
44import Foundation
@@ -127,11 +127,9 @@ targets.append(
127127 dependencies: swiftBenchDeps,
128128 path: " utils " ,
129129 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 " ] ) ] ) )
135133
136134#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)
137135targets. append (
@@ -167,11 +165,9 @@ targets += cxxSingleSourceLibraries.map { name in
167165 dependencies: singleSourceDeps,
168166 path: " cxx-source " ,
169167 sources: [ " \( name) .swift " ] ,
170- swiftSettings: [ . unsafeFlags ( [ " -cxx-interoperability-mode=default " ,
171- " -I " ,
168+ swiftSettings: [ . interoperabilityMode ( . Cxx ) ,
169+ . unsafeFlags ( [ " -I " ,
172170 " utils/CxxTests " ,
173- // FIXME(rdar://136138941): these flags should be redundant because of cxxLanguageStandard
174- " -Xcc " , " -std=c++20 " ,
175171 // FIXME: https://github.com/apple/swift/issues/61453
176172 " -Xfrontend " , " -validate-tbd-against-ir=none " ] ) ] )
177173}
You can’t perform that action at this time.
0 commit comments