File: 0001-Fix-CheckAtomicAlignment-test-on-s390x.patch

package info (click to toggle)
golang-honnef-go-tools 2023.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,784 kB
  • sloc: sh: 132; xml: 48; lisp: 30; makefile: 10; javascript: 1
file content (18 lines) | stat: -rw-r--r-- 831 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Shengjing Zhu <zhsj@debian.org>
Date: Mon, 20 Jun 2022 03:31:01 +0800
Subject: Fix CheckAtomicAlignment test on s390x

---
 staticcheck/testdata/src/example.com/CheckAtomicAlignment/atomic64.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/staticcheck/testdata/src/example.com/CheckAtomicAlignment/atomic64.go b/staticcheck/testdata/src/example.com/CheckAtomicAlignment/atomic64.go
index 9af815c..9f52411 100644
--- a/staticcheck/testdata/src/example.com/CheckAtomicAlignment/atomic64.go
+++ b/staticcheck/testdata/src/example.com/CheckAtomicAlignment/atomic64.go
@@ -1,4 +1,4 @@
-// +build amd64 amd64p32 arm64 ppc64 ppc64le mips64 mips64le mips64p32 mips64p32le sparc64 riscv64
+// +build amd64 amd64p32 arm64 ppc64 ppc64le mips64 mips64le mips64p32 mips64p32le sparc64 riscv64 s390x
 
 package pkg