diff options
Diffstat (limited to 'vendor/github.com/zeebo/blake3/internal/consts/cpu_other.go')
-rw-r--r-- | vendor/github.com/zeebo/blake3/internal/consts/cpu_other.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/github.com/zeebo/blake3/internal/consts/cpu_other.go b/vendor/github.com/zeebo/blake3/internal/consts/cpu_other.go new file mode 100644 index 000000000..5f7407a6a --- /dev/null +++ b/vendor/github.com/zeebo/blake3/internal/consts/cpu_other.go @@ -0,0 +1,7 @@ +// +build !mips,!mips64,!ppc64,!s390x,!amd64,!386,!arm,!arm64,!mipsle,!mips64le,!ppc64le,!riscv64,!wasm + +package consts + +import "unsafe" + +var IsLittleEndian = *(*uint16)(unsafe.Pointer(&[2]byte{0, 1})) != 1 |