Skip to content

Commit c43fe1e

Browse files
tklausergopherbot
authored andcommitted
cpu: define IsBigEndian on wasm
For golang/go#57237 Change-Id: Ia2aa943e93c8df51cd08003535fa026d2bb8003e Reviewed-on: https://go-review.googlesource.com/c/sys/+/494856 TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Tobias Klauser <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> Reviewed-by: Heschi Kreinick <[email protected]>
1 parent 1911637 commit c43fe1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpu/endian_little.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh
6-
// +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh
5+
//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh || wasm
6+
// +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh wasm
77

88
package cpu
99

0 commit comments

Comments
 (0)