]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/dist: skip building std for the host when cross-compiling
authorBryan C. Mills <bcmills@google.com>
Wed, 11 Jan 2023 22:27:56 +0000 (17:27 -0500)
committerGopher Robot <gobot@golang.org>
Mon, 30 Jan 2023 18:48:49 +0000 (18:48 +0000)
commitcb61585e870e2967d965d673c98f9d9a45b6e855
treea4bad2559225a397a9d3e19b2f7920540a1c555f
parentd75a867395e983c0a420ef3fecf30c98897560d7
cmd/dist: skip building std for the host when cross-compiling

The purpose of building the host toolchain is so that we can use it to
build and test the target configuration.

The host configuration should already be tested separately (with its
own builder), so we do not need to build the parts of that
configuration that are not relevant to the task of building and
testing the target configuration.

Updates #47257.

Change-Id: I814778d2d65b1f2887c9419232b5bfd4068f58af
Reviewed-on: https://go-review.googlesource.com/c/go/+/461676
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/dist/build.go