Uh oh!
There was an error while loading. Please reload this page.
vendor: github.com/golang/snappy v1.0.0 - #3685
Conversation
Ensure arm64 frame sizes are 8 (mod 16) fixes: "Weird failure when building on Raspbian / Debian 10.11" full diff: golang/snappy@v0.0.4...v1.0.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
thaJeztah
commented
Mar 3, 2026
FWIW; this version matches what GitHub uses; https://github.com/cli/cli/blob/7a590331b599a0ac60e55225dc26c79c8b0d51a0/go.mod#L26 I noticed that this module has been archived though; wondering if GitHub (if they define this format to use) is considering alternatives 🤔 ![]() |
thaJeztah
commented
Mar 3, 2026
Ah! Looks like https://pkg.go.dev/github.com/klauspost/compress/snappy
And... apparently https://pkg.go.dev/github.com/klauspost/compress/s2#section-readme
|
thaJeztah
commented
Mar 3, 2026
Oh! And looks like snappy there is a wrapper around s2, so no need to choose really; // Decode returns the decoded form of src. The returned slice may be a sub-// slice of dst if dst was large enough to hold the entire decoded block.// Otherwise, a newly allocated slice will be returned.//// The dst and src must not overlap. It is valid to pass a nil dst.//// Decode handles the Snappy block format, not the Snappy stream format.funcDecode(dst, src []byte) ([]byte, error) {
returns2.Decode(dst, src)
} |
thaJeztah
commented
Mar 3, 2026
|

Ensure arm64 frame sizes are 8 (mod 16)
fixes: "Weird failure when building on Raspbian / Debian 10.11"
full diff: golang/snappy@v0.0.4...v1.0.0