diff --git a/internal/runtimex/readunaligned.go b/internal/runtimex/readunaligned.go index 6e545073..f7e49dc4 100644 --- a/internal/runtimex/readunaligned.go +++ b/internal/runtimex/readunaligned.go @@ -12,11 +12,11 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build 386 || amd64 || arm || arm64 || ppc64le || mips64le || mipsle || riscv64 || wasm -// +build 386 amd64 arm arm64 ppc64le mips64le mipsle riscv64 wasm +//go:build 386 || amd64 || arm || arm64 || ppc64le || mips64le || mipsle || riscv64 || wasm || loong64 +// +build 386 amd64 arm arm64 ppc64le mips64le mipsle riscv64 wasm loong64 // -// from golang-go/src/os/endian_big.go +// from golang-go/src/os/endian_little.go package runtimex diff --git a/internal/runtimex/readunaligned_bigendian.go b/internal/runtimex/readunaligned_bigendian.go index 3b88d01a..12a90f2d 100644 --- a/internal/runtimex/readunaligned_bigendian.go +++ b/internal/runtimex/readunaligned_bigendian.go @@ -16,7 +16,7 @@ // +build ppc64 s390x mips mips64 // -// from golang-go/src/os/endian_little.go +// from golang-go/src/os/endian_big.go package runtimex