Skip to content

Commit 7165f5e

Browse files
committed
Add WASI wasip1 support
Fix building when the new `wasip1` port is being used. This is a new target that will be introduced by go 1.21. For more details golang/go#58141 Signed-off-by: Flavio Castelli <[email protected]>
1 parent 352781d commit 7165f5e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

terminal_check_wasip1.go

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//go:build wasip1
2+
// +build wasip1
3+
4+
package logrus
5+
6+
func isTerminal(fd int) bool {
7+
return false
8+
}

0 commit comments

Comments
 (0)