Skip to content

Commit e4d9c96

Browse files
committed
dion't use @_alwaysEmitIntoClient on any platform, crashes with 6.1-dev
1 parent 5e9d44d commit e4d9c96

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

Sources/SwiftOCA/OCP.1/Decoder/Ocp1DecodingState.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ class Ocp1DecodingState {
7979
}
8080
}
8181

82-
#if !canImport(Android)
83-
@_alwaysEmitIntoClient
84-
#endif
8582
private func decodeInteger<Integer>(_ type: Integer.Type) throws -> Integer
8683
where Integer: FixedWidthInteger
8784
{

Sources/SwiftOCA/OCP.1/Encoder/Ocp1EncodingState.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ class Ocp1EncodingState {
4242
throw Ocp1Error.nilNotEncodable
4343
}
4444

45-
#if !canImport(Android)
46-
@_alwaysEmitIntoClient
47-
#endif
4845
private func encodeInteger(_ value: some FixedWidthInteger) throws {
4946
withUnsafeBytes(of: value.bigEndian) {
5047
data += $0

0 commit comments

Comments
 (0)