Skip to content

cmd/dist: "go tool dist: unknown $GOOS linux" #14024

Description

@danhardman
  1. Go version: 1.5.3
  2. Windows/AMD64
  3. Ran make.bat from C:/go/src
  4. Not really sure
  5. go tool dist: unknown $GOOS linux

I'm trying to set my target GOOS and GOARCH to linux/arm whilst developing using atom go that I can build on save and see appropriate error messages given to me through the atom package: go-plus. However, When I do this on Windows, I get error messages saying go tools cannot be found.

I was told running make.bat would solve this issue, however when it gets to running .\cmd\dist\ I get this error go tool dist: unknown $GOOS linux.

Obviously "linux" is included in okgoos so I'm not sure why https://github.com/golang/go/blob/master/src/cmd/dist/build.go#L115 is failing.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions