sirupsen / logrus

Structured, pluggable logging for Go.
MIT License
24.3k stars 2.26k forks source link

Add WASI wasip1 support #1388

Closed flavio closed 1 year ago

flavio commented 1 year ago

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

flavio commented 1 year ago

I've updated my PR to include tinygo + wasi support

You can see a demo here: https://gist.github.com/flavio/f24fc3f349c09ac134e2e130109488e9