Skip to content

Commit 741a11c

Browse files
authored
[6.0] Remove Sendable conformance on Bundle from SwiftPM (#7653)
Cherry-pick of #7652. **Explanation**: We shouldn't have two `Sendable` conformances on `Bundle` at the same time, and Foundation added this on their side in `main` (swiftlang/swift-corelibs-foundation#4963) and `release/6.0` (swiftlang/swift-corelibs-foundation#4978). **Scope**: isolated to bundle resources. **Risk**: low, the corresponding change on `main` branch of `swift-corelibs-foundation` was there for 3 weeks. **Testing**: covered by existing tests and the compat suite. **Issue**: rdar://129599679 **Reviewer**: @parkera, @bnbarham
1 parent 20c3e0c commit 741a11c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Sources/Build/BuildDescription/SwiftTargetBuildDescription.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -380,11 +380,6 @@ public final class SwiftTargetBuildDescription {
380380
"""
381381
import Foundation
382382
383-
#if compiler(>=6.0)
384-
extension Foundation.Bundle: @unchecked @retroactive Sendable {}
385-
#else
386-
extension Foundation.Bundle: @unchecked Sendable {}
387-
#endif
388383
extension Foundation.Bundle {
389384
static let module: Bundle = {
390385
let mainPath = \(mainPathSubstitution)

0 commit comments

Comments
 (0)