mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-11 10:44:41 +00:00
6ebd87c669
Exclide GOARCHs including: mips, mips64, mips64le, mipsle, riscv64. These archs are not supported by gvisor.dev/gvisor/pkg/hostarch. Fixes: #391 Signed-off-by: KevinLiang10 <kevinliang@tailscale.com>
21 lines
395 B
Go
21 lines
395 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// TODO(#8502): add support for more architectures
|
|
//go:build linux && (arm64 || amd64)
|
|
|
|
package linuxfw
|
|
|
|
import (
|
|
"testing"
|
|
"unsafe"
|
|
|
|
"tailscale.com/util/linuxfw/linuxfwtest"
|
|
)
|
|
|
|
func TestSizes(t *testing.T) {
|
|
linuxfwtest.TestSizes(t, &linuxfwtest.SizeInfo{
|
|
SizeofSocklen: unsafe.Sizeof(sockLen(0)),
|
|
})
|
|
}
|