Skip to content

Incompatible with tinygo? #73

Open
@dkegel-fastly

Description

Evidently zerolog 0.27 added colorization on windows by pulling in mattn/go-colorable, which in turn pulls in go-isatty.
Great! Except that now zerolog can't be used with tinygo (on macos, at least, and possibly other operating systems).

At least part of the problem can be traced to go-isatty:

$ tinygo test
# golang.org/x/sys/unix
../../go/pkg/mod/golang.org/x/[email protected]/unix/syscall_unix.go:466:17: Exec not declared by package syscall
FAIL

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions