Skip to content

Commit 2bd8cc9

Browse files
committed
Update build constraints for loong64 and s390x
Signed-off-by: fangwentong <[email protected]>
1 parent c5ada8d commit 2bd8cc9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: cpuinfo_loong64.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
//go:build linux
15-
// +build linux
14+
//go:build linux && loong64
15+
// +build linux,loong64
1616

1717
package procfs
1818

Diff for: cpuinfo_s390x.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
//go:build linux
15-
// +build linux
14+
//go:build linux && s390x
15+
// +build linux,s390x
1616

1717
package procfs
1818

0 commit comments

Comments
 (0)