Skip to content

"build constraints exclude all Go files in" when trying to import golang.org/x/sys/unix #32548

@aadarshpratik1

Description

@aadarshpratik1

What exactly did you do? Did you specify GOOS=js and GOARCH=wasm?

Originally posted by @neelance in #26598 (comment)

I saw this answer in an old issue but did not understand why this needs to be done

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions