]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: set GOFLAGS=-trimpath when building cmd for releases
authorBryan C. Mills <bcmills@google.com>
Fri, 27 Jan 2023 20:33:48 +0000 (15:33 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 31 Jan 2023 15:28:44 +0000 (15:28 +0000)
commitf298b90bc56540e4313b7b7d3ecf08b1390b644f
tree3e0c8b7104238308def9bfd6b3de9e9ccc892b24
parent066b780502c8c87c03f8a5e0bbc16c1c87221cf1
cmd/dist: set GOFLAGS=-trimpath when building cmd for releases

Also set it on the Go builders, so that the builders more closely
match releases.

It looks like this change was intended to be included in CL 454836,
but was commented out at some point — perhaps during debugging? —
before that change was merged.

For #24904.

Change-Id: Ib501274520c5de366d4e9d87a1bd3c6ba2d2413f
Reviewed-on: https://go-review.googlesource.com/c/go/+/463740
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/cmd/dist/build.go