Skip to content

Commit 1da5526

Browse files
mdlayherjosharian
authored andcommitted
native: apply //go:build tags
Signed-off-by: Matt Layher <[email protected]>
1 parent b6b71de commit 1da5526

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

endian_big.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build mips || mips64 || ppc64 || s390x
12
// +build mips mips64 ppc64 s390x
23

34
package native

endian_generic.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !mips && !mips64 && !ppc64 && !s390x && !amd64 && !386 && !arm && !arm64 && !mipsle && !mips64le && !ppc64le && !riscv64 && !wasm
12
// +build !mips,!mips64,!ppc64,!s390x,!amd64,!386,!arm,!arm64,!mipsle,!mips64le,!ppc64le,!riscv64,!wasm
23

34
// This file is a fallback, so that package native doesn't break

endian_little.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build amd64 || 386 || arm || arm64 || mipsle || mips64le || ppc64le || riscv64 || wasm
12
// +build amd64 386 arm arm64 mipsle mips64le ppc64le riscv64 wasm
23

34
package native

0 commit comments

Comments
 (0)