Skip to content

Commit

Permalink
adjust baremetal build tags
Browse files Browse the repository at this point in the history
Signed-off-by: leongross <leon.gross@9elements.com>
  • Loading branch information
leongross committed Aug 22, 2024
1 parent 459b1e1 commit bbf1159
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/os/exec.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
//go:build !baremetal

package os

import (
Expand Down
2 changes: 1 addition & 1 deletion src/os/exec_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build linux && !baremetal
//go:build linux && !baremetal && !tinygo.wasm

package os

Expand Down
2 changes: 2 additions & 0 deletions src/os/exec_linux_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go: build linux && !baremetal && !tinygo.wasm

package os_test

import (
Expand Down
4 changes: 2 additions & 2 deletions src/os/exec_other.go
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/os/osexec.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build linux && !baremetal
//go:build linux && !baremetal && !darwin && !tinygo.wasm

package os

Expand Down

0 comments on commit bbf1159

Please sign in to comment.