Skip to content

Commit

Permalink
Add WASI wasip1 support
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
flavio committed May 31, 2023
1 parent 352781d commit 7165f5e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions terminal_check_wasip1.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//go:build wasip1
// +build wasip1

package logrus

func isTerminal(fd int) bool {
return false
}

0 comments on commit 7165f5e

Please sign in to comment.