cmd/go: go related environment set explicitly in go tool #70544
Labels
GoCommand
cmd/go
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version devel go1.24-8397de2241 2024-11-23 00:23:59 +0000 linux/amd64
Output of
go env
in your module/workspace:Explicitly set environment with
go env -changed
:What did you do?
https://go.dev/play/p/Apul33WDA2L
With a tool that reads the environment, run it via run vs tool:
results:
What did you see happen?
go related environment variables are all explicitly set
What did you expect to see?
go envs aren't set.
For context, I wanted to use https://github.com/ko-build/ko for building multi platform container images, however, it refuses to run due to conflicting configuration of single vs multiple target platforms:
The text was updated successfully, but these errors were encountered: