Skip to content

Commit 8ee7e7b

Browse files
authored
Merge pull request swiftlang#5784 from slavapestov/fix-resilience-eager-bridging
stdlib: Fix resilient build
2 parents a6ca7ff + ba72188 commit 8ee7e7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stdlib/public/core/HashedCollections.swift.gyb

+3
Original file line numberDiff line numberDiff line change
@@ -2830,6 +2830,7 @@ final internal class _HashableTypedNative${Self}Storage<${TypeParametersDecl}> :
28302830
/// with _SwiftDeferredNS${Self}. What functionality actually relies on
28312831
/// Hashable can be found in an extension.
28322832
@_versioned
2833+
@_fixed_layout
28332834
internal struct _Native${Self}Buffer<${TypeParameters}> {
28342835

28352836
internal typealias RawStorage = _RawNative${Self}Storage
@@ -3883,6 +3884,8 @@ internal struct _Cocoa${Self}Buffer : _HashBuffer {
38833884
}
38843885
}
38853886
#else
3887+
@_versioned
3888+
@_fixed_layout
38863889
internal struct _Cocoa${Self}Buffer {}
38873890
#endif
38883891

0 commit comments

Comments
 (0)