]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: test goos, not gohostos, in tester.extLink
authorIan Lance Taylor <iant@golang.org>
Mon, 30 Jan 2023 23:09:21 +0000 (15:09 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 31 Jan 2023 16:52:21 +0000 (16:52 +0000)
commit00e1091bfde531ae25cb411f9ac9a9e2d04b2592
tree3de8089e9920e523f912ae917af13550a935ed1f
parente1f9499ecfff24fac827749719e5e53c0e5acaeb
cmd/dist: test goos, not gohostos, in tester.extLink

This error dates back to when the method was introduced in CL 6531.
It only matters for the rare case of building tests on one GOOS and
running them on another, and only makes a difference for the rare case
where one GOOS supports external linking and another does not.

Change-Id: I1a7abfb0a5bbec49ddbcd9c1a4f5c0ec43a8095c
Reviewed-on: https://go-review.googlesource.com/c/go/+/463991
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/test.go