1
0
mirror of https://github.com/golang/go synced 2024-11-17 22:44:41 -07:00
go/misc/cgo/testshared
Bryan C. Mills 5c7dbf40e1 misc/cgo/testshared: explicitly set GOBIN (instead of unsetting it)
If GOBIN is set in the GOENV file, then merely unsetting it in the
process environment is not sufficient. We can instead either set GOBIN
explicitly, or disable GOENV explicitly. For now, we (semi-arbitrary)
choose the former.

Fixes #37390

Change-Id: Iec54532c804b70546d695105cd89e9169eac5dbb
Reviewed-on: https://go-review.googlesource.com/c/go/+/220652
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2020-02-24 20:47:43 +00:00
..
testdata cmd/link: put shlib ".type" functions in internal ABI 2019-07-15 22:54:39 +00:00
overlaydir_test.go misc: remove use of relative directories in overlayDir functions 2019-11-25 16:26:15 +00:00
shared_test.go misc/cgo/testshared: explicitly set GOBIN (instead of unsetting it) 2020-02-24 20:47:43 +00:00