]> Cypherpunks repositories - gostls13.git/commit
run: set GOENV=off when running 'go tool dist env'
authorBryan C. Mills <bcmills@google.com>
Thu, 28 Jul 2022 19:29:38 +0000 (15:29 -0400)
committerBryan Mills <bcmills@google.com>
Wed, 17 Aug 2022 20:19:28 +0000 (20:19 +0000)
commit9c2b481b57aea1ee69b2131c09af1e0dc0ea84d8
treed59bb5520b50710586c6682988443161b318a1c8
parent876d477b0e3b27ae136a7e8dfceaf0ec72bddea6
run: set GOENV=off when running 'go tool dist env'

'go tool' sets environment variables, including the GOAMD64 value
from the user's go.env file.

'go tool dist test' then rebuilds and reinstalls the toolchain and
standard library based on those variables. It should not; instead, it
should test exactly the configuration installed by the make scripts.

Fixes #54084.

Change-Id: I7cc8a21cc1d8331e06d7b7c55b14d170f8e2faab
Reviewed-on: https://go-review.googlesource.com/c/go/+/420055
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/run.bash
src/run.bat
src/run.rc