You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (go env)?
Windows 10 Enterprise edition , Processor-->intel core i5 7300U CPU
go env Output
$ go env
C:\Users\x6rmahad>go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\x6rmahad\AppData\Local\go-build
set GOENV=C:\Users\x6rmahad\AppData\Roaming\go\env
set GOEXE=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=linux
set GOPATH=C:\Users\x6rmahad\Project
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=0
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-fPIC -m64 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\x6rmahad\AppData\Local\Temp\go-build110527706=/tmp/go-build -gno-record-gcc-switches
What did you do?
run the command
$ go run main.go
What did you expect to see?
output of the application
What did you see instead?
exec: "C:\Users\x6rmahad\AppData\Local\Temp\go-build670588414\b001\exe\main": file does not exist
The text was updated successfully, but these errors were encountered:
@masbaehr It's better to use go env to check and manage golang environment variables. And for a fresh install, GOARCH/GOOS should have been set correctly and you don't need to change them in OS environment variables.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env
)?Windows 10 Enterprise edition , Processor-->intel core i5 7300U CPU
go env
OutputWhat did you do?
run the command
$ go run main.go
What did you expect to see?
output of the application
What did you see instead?
exec: "C:\Users\x6rmahad\AppData\Local\Temp\go-build670588414\b001\exe\main": file does not exist
The text was updated successfully, but these errors were encountered: