cmd/go: build -v outputs nothing while changing the resulting binary #24214
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go version go1.10 linux/amd64
Does this issue reproduce with the latest release?
Yes (1.10 is latest, to my knowledge)
What operating system and processor architecture are you using (
go env
)?GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOARCH="amd64"
GOOS="linux"
What did you do?
Comparing Go 1.9 and 1.10 (using Docker), I do the following:
In a folder (
/home/test
in this case) create amain.go
containing the bare minimum:Run
go build
Create
test.go
containing something visible:Run
go build
Remove test.go and run
go build -v
What did you expect to see?
I expected the same output as I get from Go 1.9
What did you see instead?
Instead,
go build -v
outputs nothing, but the resulting binary did actually change.I created this test case after
go get -v
showed this behavior for me, so I expect build, install and get to all be affected by this.The text was updated successfully, but these errors were encountered: