runtime: environment variable GODEBUG (possibly others) treated case sensitively on Windows. #28557
Labels
Milestone
Comments
Change https://golang.org/cl/147039 mentions this issue: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
SET godebug=cgocheck=0
What did you expect to see?
My program executing normally.
What did you see instead?
panic: runtime error: cgo argument has Go pointer to Go pointer
.I am unable to predict this, since what os.GetEnv() correctly reports mismatches what Go sees internally.
What did you try to fix it?
Open a new console window, wherein I
SET GODEBUG=cgocheck=0
, followed by execution of my program, which resulted in the expected behaviour, despite Windows environment variables supposedly being case-insensitive.The text was updated successfully, but these errors were encountered: