Skip to content

Commit 6f511d6

Browse files
authored
Merge pull request #9301 from eeckstein/fix-resilience-build
2 parents c98e9bb + a5ddde2 commit 6f511d6

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

stdlib/public/core/Character.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
/// [glossary]: http://www.unicode.org/glossary/
6161
/// [clusters]: http://www.unicode.org/glossary/#extended_grapheme_cluster
6262
/// [scalars]: http://www.unicode.org/glossary/#unicode_scalar_value
63+
@_fixed_layout
6364
public struct Character :
6465
_ExpressibleByBuiltinExtendedGraphemeClusterLiteral,
6566
ExpressibleByExtendedGraphemeClusterLiteral, Hashable {

stdlib/public/core/UTF8.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ extension _Unicode.UTF8 : UnicodeEncoding {
8585
_bitCount: 32)
8686
}
8787

88+
@_fixed_layout
8889
public struct ForwardParser {
8990
public typealias _Buffer = _UIntBuffer<UInt32, UInt8>
9091
@inline(__always)
@@ -93,6 +94,7 @@ extension _Unicode.UTF8 : UnicodeEncoding {
9394
public var _buffer: _Buffer
9495
}
9596

97+
@_fixed_layout
9698
public struct ReverseParser {
9799
public typealias _Buffer = _UIntBuffer<UInt32, UInt8>
98100
@inline(__always)

stdlib/public/core/UnicodeParser.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ extension UnicodeParser {
6666
}
6767

6868
extension _Unicode {
69+
@_fixed_layout
6970
public struct ParsingIterator<
7071
CodeUnitIterator : IteratorProtocol,
7172
Parser: UnicodeParser

0 commit comments

Comments
 (0)