From ea71d3057a1e8dfdff86808e3dd5d5e6404ba043 Mon Sep 17 00:00:00 2001 From: 0x1a8510f2 Date: Mon, 15 Apr 2024 18:38:01 +0100 Subject: [PATCH] use `unix` build constraint --- setup/base/sanity_other.go | 4 ++-- setup/base/sanity_unix.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/base/sanity_other.go b/setup/base/sanity_other.go index d35c2e872..38e2b941f 100644 --- a/setup/base/sanity_other.go +++ b/setup/base/sanity_other.go @@ -1,5 +1,5 @@ -//go:build !linux && !darwin && !netbsd && !freebsd && !openbsd && !solaris && !dragonfly && !aix -// +build !linux,!darwin,!netbsd,!freebsd,!openbsd,!solaris,!dragonfly,!aix +//go:build !unix +// +build !unix package base diff --git a/setup/base/sanity_unix.go b/setup/base/sanity_unix.go index 0403df1a8..90e38a6db 100644 --- a/setup/base/sanity_unix.go +++ b/setup/base/sanity_unix.go @@ -1,5 +1,5 @@ -//go:build linux || darwin || netbsd || freebsd || openbsd || solaris || dragonfly || aix -// +build linux darwin netbsd freebsd openbsd solaris dragonfly aix +//go:build unix +// +build unix package base