]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modload: record the replacement for the module containing package...
authorBryan C. Mills <bcmills@google.com>
Mon, 24 Feb 2020 16:27:38 +0000 (11:27 -0500)
committerBryan C. Mills <bcmills@google.com>
Mon, 24 Feb 2020 20:11:21 +0000 (20:11 +0000)
commite092fc352ad393a4d2f1f7fa641df2d23572ccff
tree86a8698f999b262ef12b87435ed120170c932116
parent363cd66d6049aa8199c1e89bcc8ce00915e5a429
cmd/go/internal/modload: record the replacement for the module containing package main in BuildInfo

Fixes #37392

Change-Id: I2cb051e6f556b0af95e059611dda3f62e7c1f21a
Reviewed-on: https://go-review.googlesource.com/c/go/+/220645
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/modload/build.go
src/cmd/go/testdata/mod/example.com_printversion_v0.1.0.txt
src/cmd/go/testdata/mod/example.com_printversion_v1.0.0.txt
src/cmd/go/testdata/script/version_replace.txt [new file with mode: 0644]
src/runtime/debug/mod.go