]> Cypherpunks repositories - gostls13.git/commit
cmd/distpack: remove some tools from packaged distribution
authorMichael Matloob <matloob@golang.org>
Thu, 6 Feb 2025 21:11:50 +0000 (16:11 -0500)
committerMichael Matloob <matloob@google.com>
Fri, 16 May 2025 22:31:52 +0000 (15:31 -0700)
commit8798f9e7a4929bafb570da29d342104c8cb32f9b
tree03425088b6105f06237b0d4e5c95db2035385dee
parent8097cf14d20b547a615aae7d1b738a6aa563aa31
cmd/distpack: remove some tools from packaged distribution

This change removes some tools that are not used for builds, or
otherwise invoked by the go command (other than through "go tool"
itself) from the packaged distributions produced by distpack. When these
tools are missing, "go tool" will build and run them as needed.

Also update a case where we print a buildid commandline to specify
invoking buildid using "go tool" rather than the binary at it's install
location, because it may not exist there in packaged distributions
anymore.

The tools in this CL are the lowest hanging fruit. There are a few more
tools that aren't used by builds, but we'd have to get the go command to
run them using "go tool" rather than finding them in the tool install
directory.

For #71867

Change-Id: I217683bd549962a1add87405bf3fb1225e2333c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/666755
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Michael Matloob <matloob@google.com>
src/cmd/distpack/pack.go
src/cmd/go/internal/work/buildid.go