diff --git a/src/os/exec.go b/src/os/exec.go index 15b209bfb7..0e3ab995fa 100644 --- a/src/os/exec.go +++ b/src/os/exec.go @@ -1,4 +1,4 @@ -//go:build !baremetal +//go:build !baremetalA package os diff --git a/src/os/exec_other.go b/src/os/exec_other.go index 1684f9109f..c877a7cf9d 100644 --- a/src/os/exec_other.go +++ b/src/os/exec_other.go @@ -1,5 +1,5 @@ -//go:build !aix && !android && !freebsd && !linux && !netbsd && !openbsd && !plan9 && !solaris -// +build !aix,!android,!freebsd,!linux,!netbsd,!openbsd,!plan9,!solaris +//go:build (!aix && !android && !freebsd && !linux && !netbsd && !openbsd && !plan9 && !solaris) || baremetal +// +build !aix,!android,!freebsd,!linux,!netbsd,!openbsd,!plan9,!solaris baremetal package os diff --git a/src/os/osexec.go b/src/os/osexec.go index 1c7b76f936..3fb1e8dfa0 100644 --- a/src/os/osexec.go +++ b/src/os/osexec.go @@ -1,4 +1,4 @@ -//go:build linux && !baremetal +//go:build linux && !baremetal && !darwin package os