Skip to content

Commit ffa5a87

Browse files
committed
adjust baremetal build tags
Signed-off-by: leongross <[email protected]>
1 parent 459b1e1 commit ffa5a87

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/os/exec.go

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
//go:build !baremetal
2-
31
package os
42

53
import (

src/os/exec_linux.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build linux && !baremetal
5+
//go:build linux && !baremetal && !tinygo.wasm
66

77
package os
88

src/os/exec_linux_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go: build linux && !baremetal && !tinygo.wasm
2+
13
package os_test
24

35
import (

src/os/exec_other.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
//go:build !aix && !android && !freebsd && !linux && !netbsd && !openbsd && !plan9 && !solaris
2-
// +build !aix,!android,!freebsd,!linux,!netbsd,!openbsd,!plan9,!solaris
1+
//go:build (!aix && !android && !freebsd && !linux && !netbsd && !openbsd && !plan9 && !solaris) || baremetal || tinygo.wasm
2+
// +build !aix,!android,!freebsd,!linux,!netbsd,!openbsd,!plan9,!solaris baremetal tinygo.wasm
33

44
package os
55

src/os/osexec.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build linux && !baremetal
1+
//go:build linux && !baremetal && !darwin && !tinygo.wasm
22

33
package os
44

0 commit comments

Comments
 (0)