]> Cypherpunks repositories - gostls13.git/commit
cmd/go: rewrite TestScript/cgo_stale_precompiled to be agnostic to staleness go1.18beta2
authorBryan C. Mills <bcmills@google.com>
Fri, 28 Jan 2022 22:22:32 +0000 (17:22 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 31 Jan 2022 13:43:52 +0000 (13:43 +0000)
commit41f485b9a7d8fd647c415be1d11b612063dff21c
tree31e1b08a0b5b2ca34ea6c439274a86d4f6fd1e18
parenta5c0b190809436fd196a348f85eca0416f4de7fe
cmd/go: rewrite TestScript/cgo_stale_precompiled to be agnostic to staleness

The configuration set by x/build/cmd/releasebot causes runtime/cgo to
be stale in the darwin/amd64 release (see #36025, #35459).
That staleness is mostly benign because we can reasonably assume that
users on macOS will either disable CGO entirely or have a C compiler
installed to rebuild (and cache) the stale packages if needed.

Fixes #50892
Fixes #50893
Updates #46347

Change-Id: Ib9ce6b5014de436264238f680f7ca4ae02c9a220
Reviewed-on: https://go-review.googlesource.com/c/go/+/381854
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/testdata/script/cgo_stale_precompiled.txt