zeebo / xxh3

XXH3 algorithm in Go
BSD 2-Clause "Simplified" License
406 stars 20 forks source link

bug fix for non-amd64 architectures #6

Closed zhangyunhao116 closed 3 years ago

zhangyunhao116 commented 3 years ago

For now, the compilation will fails in non-amd64 archs, this pull request add some missing functions for non-amd64 archs, also fix go test in this situation :)

output in arm64 arch: ../../go/pkg/mod/github.com/zeebo/xxh3@v0.9.0/hash.go:161:10: undefined: hashLarge ../../go/pkg/mod/github.com/zeebo/xxh3@v0.9.0/hash128.go:231:10: undefined: hashLarge128