]> Cypherpunks repositories - gostls13.git/commit
cmd/{go,cover}: enable response file args for cmd/cover
authorThan McIntosh <thanm@google.com>
Thu, 15 Jun 2023 13:14:03 +0000 (09:14 -0400)
committerThan McIntosh <thanm@google.com>
Thu, 22 Jun 2023 18:36:44 +0000 (18:36 +0000)
commit51885c1fa2eff36c421d6669816f971b54b63a33
tree81c23b3fab5d6332898cd05b38c17c22e5f1a220
parent3479e1e5439c3c4f5236239ad1ebaba2b945f755
cmd/{go,cover}: enable response file args for cmd/cover

Change the cover command to accept arguments via response files, using
the same mechanism employed for the compiler and the assembler. This
is needed now that the cover tool accepts a list of all source files
in a package, as opposed to just a single source file, and as a result
can run into system-dependent command line length limits.

Fixes #60785.

Change-Id: I67dbc96ad9fc5c6f43d5c1e4e903e4b8589b154f
Reviewed-on: https://go-review.googlesource.com/c/go/+/503735
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
src/cmd/cover/cover.go
src/cmd/go/internal/work/exec.go