Skip to content

cmd/dist: list all valid combinations of GOOS and GOARCH #12270

Description

@otm

To easier write tooling for cross compiling it would be good to programmatically get the possible combinations of GOOS and GOARCH.

The only reference I can find is at http://golang.org/doc/install/source#environment

In addition, go help environmentonly gives examples; andgo help build and go help installdoes not mention GOOS and GOARCH.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions