From bf011fe6e7b4cf4b0e89915508cc9c57ff3f2ca0 Mon Sep 17 00:00:00 2001 From: leongross Date: Fri, 9 Aug 2024 11:55:05 +0200 Subject: [PATCH] adjust baremetal build tags --- src/os/exec.go | 2 +- src/os/exec_other.go | 4 ++-- src/os/osexec.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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