Skip to content

Commit

Permalink
Merge pull request #1388 from flavio/add-wasip1-support
Browse files Browse the repository at this point in the history
  • Loading branch information
sirupsen authored Jun 6, 2023
2 parents 8ffd87d + 032a334 commit dd1b4c2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terminal_check_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//go:build (linux || aix || zos) && !js && !wasi
// +build linux aix zos
// +build !js
// +build !wasi

package logrus

Expand Down
8 changes: 8 additions & 0 deletions terminal_check_wasi.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
//go:build wasi
// +build wasi

package logrus

func isTerminal(fd int) bool {
return false
}
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 dd1b4c2

Please sign in to comment.