@@ -129,7 +129,7 @@ let package = Package(
129
129
" _Testing_Foundation " ,
130
130
" MemorySafeTestingTests " ,
131
131
] ,
132
- swiftSettings: . packageSettings + . disableMandatoryOptimizationsSettings
132
+ swiftSettings: . packageSettings
133
133
) ,
134
134
135
135
// Use a plain `.target` instead of a `.testTarget` to avoid the unnecessary
@@ -234,7 +234,7 @@ package.targets.append(contentsOf: [
234
234
" Testing " ,
235
235
" TestingMacros " ,
236
236
] ,
237
- swiftSettings: . packageSettings + . disableMandatoryOptimizationsSettings
237
+ swiftSettings: . packageSettings
238
238
)
239
239
] )
240
240
#endif
@@ -305,10 +305,7 @@ extension Array where Element == PackageDescription.SwiftSetting {
305
305
// This setting is enabled in the package, but not in the toolchain build
306
306
// (via CMake). Enabling it is dependent on acceptance of the @section
307
307
// proposal via Swift Evolution.
308
- //
309
- // FIXME: Re-enable this once a CI blocker is resolved:
310
- // https://github.com/swiftlang/swift-testing/issues/1138.
311
- // .enableExperimentalFeature("SymbolLinkageMarkers"),
308
+ . enableExperimentalFeature( " SymbolLinkageMarkers " ) ,
312
309
313
310
// This setting is no longer needed when building with a 6.2 or later
314
311
// toolchain now that SE-0458 has been accepted and implemented, but it is
@@ -397,20 +394,6 @@ extension Array where Element == PackageDescription.SwiftSetting {
397
394
[ ]
398
395
#endif
399
396
}
400
-
401
- /// Settings which disable Swift's mandatory optimizations pass.
402
- ///
403
- /// This is intended only to work around a build failure caused by a Swift
404
- /// compiler regression which is expected to be resolved in
405
- /// [swiftlang/swift#82034](https://github.com/swiftlang/swift/pull/82034).
406
- ///
407
- /// @Comment {
408
- /// - Bug: This should be removed once the CI issue is resolved.
409
- /// [swiftlang/swift-testin#1138](https://github.com/swiftlang/swift-testing/issues/1138).
410
- /// }
411
- static var disableMandatoryOptimizationsSettings : Self {
412
- [ . unsafeFlags( [ " -Xllvm " , " -sil-disable-pass=mandatory-performance-optimizations " ] ) ]
413
- }
414
397
}
415
398
416
399
extension Array where Element == PackageDescription . CXXSetting {
0 commit comments