]> Cypherpunks repositories - gostls13.git/commit
go/build: replace a call to os.Environ with (*exec.Cmd).Environ
authorBryan C. Mills <bcmills@google.com>
Thu, 21 Apr 2022 15:19:56 +0000 (11:19 -0400)
committerBryan Mills <bcmills@google.com>
Thu, 21 Apr 2022 17:49:00 +0000 (17:49 +0000)
commit9de57244e1708cbdac5b8d53e5cf7eea788f3f33
treefaf26d7cc08c70dcfc8ce28edca9044314bfe39b
parent824b0a34b7b4fbda1de9f5dbb39c3b33458bc541
go/build: replace a call to os.Environ with (*exec.Cmd).Environ

This is a code simplification using the new API added in #50599.

Change-Id: Icb9628bcd0daa3dc2d653e9654b38099730137d1
Reviewed-on: https://go-review.googlesource.com/c/go/+/401535
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/go/build/build.go