-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
after fresh golang installation GOARCH=386 (not amd64) (GOHOSTARCH=amd64) #45174
Comments
The only way i could get GOARCH to say 386 is if I used the 386 binary or set GOARCH manually. Else there needs to be clearer repro instructions than "install go on windows" |
i did not do any of those, I installed the amd64 version and didn't set GOARCH There was actually the file
and I removed the file (is it ok to just remove it right?) now it appears to be working just one question... why when I uninstall golang the go env file is not removed? |
yup
It does not remove files in the |
it's seems quite inconvenient to me to have an incomplete uninstallation... Is it something I can suggest to the devs or is there a reason for this behaviour? (maybe just to remove the env file and leave other directories which might contain important files?) any way thanks a lot I've been banging my head over this for more than a week now |
You could make a proposal issue for a checkbox in the installer to optionally remove config and other files, I think that is reasonable tho I have no authority on it. As for why it's not removeing them, I would argue that it is more inconvenient to remove config files every install in the general case. |
yea you are probably right, but I like the idea of a checkbox during installation to remove old config files, I think I'll create an issue for that Thanks again for the suggestion and support |
What version of Go are you using (
go version
)?go version go1.15.10 windows/amd64
Does this issue reproduce with the latest release?
yes (the lastest 1.15 release)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
installed golang on windows 10 64 bit
What did you expect to see?
GOARCH to be set to amd64
What did you see instead?
GOARCH=386
(even thoughGOHOSTARCH=amd64
)Comment
I can set GOARCH=amd64 manually, but some tools while compiling do not do it automatically and this results in an error
The text was updated successfully, but these errors were encountered: