aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2023-03-10 14:02:32 -0500
committerRuss Cox <rsc@golang.org>2023-04-18 13:19:02 +0000
commit44e51e60acb8a1ff6ba10d698615fde98b2b28b0 (patch)
tree90003aaeddb5e9dc1059e9e61cc99d8f2e79854e /src/os/exec
parentce10e9d84574112b224eae88dc4e0f43710808de (diff)
downloadgo-44e51e60acb8a1ff6ba10d698615fde98b2b28b0.tar.xz
cmd/go: change toolchain based on $GOTOOLCHAIN
For proposal #57001, add code to reinvoke a different Go toolchain based on $GOTOOLCHAIN. The toolchain is searched for in $PATH first and otherwise downloaded. The download is a standard module download, so the toolchain is validated using the checksum database before being executed or even stored in the file system. Followup CLs will refine the exact toolchain selection and implement other parts of the proposal. This is only the download+reinvoke code. For #57001. Change-Id: I44363cbd916dac01342b1bfce6a487fe7166be4a Reviewed-on: https://go-review.googlesource.com/c/go/+/475955 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to 'src/os/exec')
0 files changed, 0 insertions, 0 deletions