Closed mem closed 10 months ago
Sorry about recreating the PR instead of reopening the old one (#132). My bad.
I reworded the commit message to reflect the fact that this is not specific to ARM.
The reason why I would like to have this is because I would like to run k6 on linux/arm (Raspberry Pi and whatnot).
When trying to build for 32-bit ARM (linux/arm), you get:
Pass the constant as unsigned 64-bit integer, which is what the underlying snappy code is doing (it's casting the argument to an uint64 and comparing against 0xffffffff, which in Go means it's comparing against uint64(0xffffffff)). Since this is just an error message, it shouldn't matter, but let's be consistent.