]> Cypherpunks repositories - gostls13.git/commit
cmd/go: examine dependencies of main modules in workspace mode
authorMichael Matloob <matloob@golang.org>
Thu, 9 Dec 2021 19:52:49 +0000 (14:52 -0500)
committerMichael Matloob <matloob@golang.org>
Thu, 16 Dec 2021 21:02:37 +0000 (21:02 +0000)
commitea26ce7cec7ed19b7e859dbb0e7e4354a9679911
tree47c01d7b074f0981acd1bd1a681cf82ebd62c6cd
parent1d3a5b4aeac319acd51b32e1d47a9c316d9ce2aa
cmd/go: examine dependencies of main modules in workspace mode

To make sure that we properly pull in everything in all, because
different main modules can interfere with each others' pruning.

Fixes #49763
Change-Id: I0756993d8ae9919ccb27ec460d579d348c38ec3b
Reviewed-on: https://go-review.googlesource.com/c/go/+/370663
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/go/internal/modload/buildlist.go
src/cmd/go/testdata/script/work_prune_all.txt [new file with mode: 0644]