mirror of https://github.com/sirupsen/logrus.git
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 https://github.com/golang/go/issues/58141 Signed-off-by: Flavio Castelli <fcastelli@suse.com>
This commit is contained in:
parent
352781de90
commit
7165f5e779
|
@ -0,0 +1,8 @@
|
|||
//go:build wasip1
|
||||
// +build wasip1
|
||||
|
||||
package logrus
|
||||
|
||||
func isTerminal(fd int) bool {
|
||||
return false
|
||||
}
|
Loading…
Reference in New Issue