aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mpagealloc_test.go
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2020-10-17 20:03:19 +0100
committerDaniel Martí <mvdan@mvdan.cc>2020-10-22 15:10:01 +0000
commitde74ea5d740ccc69dbb146578dc8a965351a3d6b (patch)
treef47e20dd3a95aa47c979cf8594e212f770b5b44b /src/runtime/mpagealloc_test.go
parent61313dab524f2c82add8442e15d87fca5b7103de (diff)
downloadgo-de74ea5d740ccc69dbb146578dc8a965351a3d6b.tar.xz
cmd/go: set TOOLEXEC_IMPORTPATH for -toolexec tools
This way, a -toolexec tool can tell precisely what package is being built when it's run. This was very hard to do before, because the tool had to piece together that information given the build action's arguments or flags. Since there wasn't a good set of tests for -toolexec, add one in the form of a test script. It builds a simple set of packages with a variety of build tools, to ensure that all the cases behave as expected. Like other recent master changes, include the changelog item for this user-facing change too. Fixes #15677. Change-Id: I0a5a1d9485840323ec138b2e64b7e7dd803fdf90 Reviewed-on: https://go-review.googlesource.com/c/go/+/263357 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> Trust: Daniel Martí <mvdan@mvdan.cc>
Diffstat (limited to 'src/runtime/mpagealloc_test.go')
0 files changed, 0 insertions, 0 deletions