New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: generate uses runtime values of GOARCH and GOOS instead of buildContext values #16120
Comments
A regression between 1.6 and 1.7, and should be easy to fix. Slating for 1.7. |
CL https://golang.org/cl/24242 mentions this issue. |
Before this change I could use
What do you propose I do now? Thank you.
This is not a regression from go1.6. I have no problem building $GOROOT\src\syscall\zsyscall_windows.go with go1.6.2. I am not sure that new behavior is better? What was the original problem? Alex |
@alexbrainman I think the fix for the program running I agree with the change in this issue--I think |
OK. Thank you. Alex |
go version
)?go1.6.2
go env
)?darwin/amd64
linux
darwin
This issue was raised as #11438 and fixed in Go 1.5, but the fix for #13124 caused a regression of this behavior in Go 1.6.
The text was updated successfully, but these errors were encountered: