aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/link/internal/loader/loader.go
diff options
context:
space:
mode:
authorJay Conrod <jayconrod@google.com>2020-09-11 09:31:30 -0400
committerJay Conrod <jayconrod@google.com>2020-09-11 15:53:52 +0000
commitb459bc8152210c14b66e23351690ff774cd68d2c (patch)
treebc5d92b253e1a185d76d56519e69366ba958acdb /src/cmd/link/internal/loader/loader.go
parent1ed4f12f4a6b9d783cf9a6fc3a292a433b8539c6 (diff)
downloadgo-b459bc8152210c14b66e23351690ff774cd68d2c.tar.xz
cmd/go: make 'go mod download' update go.sum after downloads are complete
'go mod download' calls WriteGoMod once via modload.ListModules when it loads the build list. This saves sums for go.mod files needed by MVS, but the write occurs before any zip files are downloaded. With this change, 'go mod download' calls WriteGoMod again (and thus, modfetch.WriteGoSum) after downloading and verifying module zip files, so the sums of the zip files will be saved, too. Fixes #41341 Change-Id: I7d56754aa255256ed45fd93cb154c2e6ea5f45a9 Reviewed-on: https://go-review.googlesource.com/c/go/+/254357 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/cmd/link/internal/loader/loader.go')
0 files changed, 0 insertions, 0 deletions