mirror of
https://github.com/golang/sys.git
synced 2026-02-08 19:56:04 +03:00
Copy the definition of x/sys/unix.isBigEndian to x/sys/cpu. Updates golang/go#57237 Change-Id: Iefbf4303720445611de93b0a3ea365f8208c033b Reviewed-on: https://go-review.googlesource.com/c/sys/+/463335 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Rob Pike <r@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org>
12 lines
537 B
Go
12 lines
537 B
Go
// Copyright 2023 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh
|
|
// +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh
|
|
|
|
package cpu
|
|
|
|
// IsBigEndian records whether the GOARCH's byte order is big endian.
|
|
const IsBigEndian = false
|