Commit bf1225f
committed
src/goEnv: unset GOOS/GOARCH/GOROOT/... from tool installation env
Tool installation is to build tools that would run in the host
machine. Applying GOOS/GOARCH/GOROOT/GOFLAGS/GOENV set to build
a cross-platform project is not the right choice.
Unset them and let the `go` command figure out.
There could be other environment variables that would affect
build (GCCGO, ..), and we will consider unsetting them.
Update #628
Change-Id: I295a0ae455aa2624550a16f69686bdf191fe41fd
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/264323
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>1 parent d7563f6 commit bf1225f
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
42 | 51 | | |
43 | 52 | | |
44 | 53 | | |
| |||
0 commit comments