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 authored and nobiit committed Jan 8, 2024
1 parent 037b555 commit fc62aa7
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 fc62aa7

Please sign in to comment.