We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd4772 commit a5315ffCopy full SHA for a5315ff
Sources/SwiftCompilerPlugin/CompilerPlugin.swift
@@ -198,7 +198,7 @@ internal struct PluginHostConnection: MessageConnection {
198
199
// Decode the count.
200
let count = header.withUnsafeBytes {
201
- UInt64(littleEndian: $0.load(as: UInt64.self))
+ UInt64(littleEndian: $0.loadUnaligned(as: UInt64.self))
202
}
203
guard count >= 2 else {
204
throw PluginMessageError.invalidPayloadSize
0 commit comments