Merge pull request #1388 from flavio/add-wasip1-support

This commit is contained in:
Simon Eskildsen 2023-06-06 08:52:35 -04:00 committed by GitHub
commit dd1b4c2e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 0 deletions

View File

@ -1,5 +1,7 @@
//go:build (linux || aix || zos) && !js && !wasi
// +build linux aix zos // +build linux aix zos
// +build !js // +build !js
// +build !wasi
package logrus package logrus

8
terminal_check_wasi.go Normal file
View File

@ -0,0 +1,8 @@
//go:build wasi
// +build wasi
package logrus
func isTerminal(fd int) bool {
return false
}

8
terminal_check_wasip1.go Normal file
View File

@ -0,0 +1,8 @@
//go:build wasip1
// +build wasip1
package logrus
func isTerminal(fd int) bool {
return false
}