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 666f336 commit d44705dCopy full SHA for d44705d
Sources/SwiftCompilerPlugin/CompilerPlugin.swift
@@ -210,7 +210,7 @@ internal struct PluginHostConnection: MessageConnection {
210
211
// Decode the count.
212
let count = header.withUnsafeBytes {
213
- UInt64(littleEndian: $0.load(as: UInt64.self))
+ UInt64(littleEndian: $0.loadUnaligned(as: UInt64.self))
214
}
215
guard count >= 2 else {
216
throw PluginMessageError.invalidPayloadSize
0 commit comments