Skip to content

Cross compilation fails #21

@rolandjitsu

Description

@rolandjitsu

As reported in vmihailenco/taskq#55, if I try to cross compile a project that has a indirect dependency on this package I get:

❯ env GOOS=linux GOARCH=arm CGO_ENABLED=0 go build ./cmd/api/main.go                   
# github.com/valyala/gozstd
../../go/pkg/mod/github.com/valyala/[email protected]/stream.go:31:59: undefined: CDict
../../go/pkg/mod/github.com/valyala/[email protected]/stream.go:35:64: undefined: CDict
../../go/pkg/mod/github.com/valyala/[email protected]/stream.go:47:20: undefined: Writer

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions