]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.19] cmd/go: do not exit with non-zero code from go list -e -export
authorMichael Matloob <matloob@golang.org>
Fri, 30 Sep 2022 20:49:42 +0000 (16:49 -0400)
committerMichael Pratt <mpratt@google.com>
Tue, 13 Jun 2023 20:00:04 +0000 (20:00 +0000)
commitc045822e4d7491271c91359a4ff7f333ca5d1ea9
tree282d55c6d8a62ae4ddeb9c2005019011cdd5f3e9
parent0b0f86e4c40c86750741e116690cd65b1cf49737
[release-branch.go1.19] cmd/go: do not exit with non-zero code from go list -e -export

go list -e -export puts errors running build actions on the load.Package
corresponding to the failed action rather than exiting with a non zero
exit code.

Fixes #60710.
Fixes #60650.
Updates #25842.

Change-Id: I1fea85cc5a0557f514fe9d4ed3b6a858376fdcde
Reviewed-on: https://go-review.googlesource.com/c/go/+/437298
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-on: https://go-review.googlesource.com/c/go/+/502195
TryBot-Bypass: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/go/internal/list/list.go
src/cmd/go/internal/work/action.go
src/cmd/go/internal/work/exec.go
src/cmd/go/internal/work/gc.go
src/cmd/go/testdata/script/build_cwd_newline.txt
src/cmd/go/testdata/script/list_export_e.txt [new file with mode: 0644]