util/linuxfw: add build constraints excluding GOARCH=arm

This isn't currently supported due to missing support in upstream
dependencies, and also we don't use this package anywhere right now.
Just conditionally skip this for now.

Fixes #7268

Change-Id: Ie7389c2c0816b39b410c02a7276051a4c18b6450
Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
This commit is contained in:
Andrew Dunham 2023-02-13 22:56:28 -07:00 committed by Andrew Dunham
parent 6de3459bc8
commit 6927a844b1
5 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build linux && !(386 || loong64)
//go:build linux && !(386 || loong64 || arm || armbe)
package linuxfw

View File

@ -1,7 +1,7 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build linux && !(386 || loong64)
//go:build linux && !(386 || loong64 || arm || armbe)
package linuxfw

View File

@ -1,10 +1,10 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
// NOTE: linux_386 and linux_loong64 are currently unsupported due to missing
// NOTE: linux_{386,loong64,arm,armbe} are currently unsupported due to missing
// support in upstream dependencies.
//go:build !linux || (linux && (386 || loong64))
//go:build !linux || (linux && (386 || loong64 || arm || armbe))
package linuxfw

View File

@ -1,7 +1,7 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build linux && !(386 || loong64)
//go:build linux && !(386 || loong64 || arm || armbe)
package linuxfw

View File

@ -1,7 +1,7 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
//go:build linux && !(386 || loong64)
//go:build linux && !(386 || loong64 || arm || armbe)
package linuxfw