]> Cypherpunks repositories - gostls13.git/commit
go/build: remove unnecessary copies of package variables
authorIan Lance Taylor <iant@golang.org>
Fri, 9 Sep 2022 00:17:55 +0000 (17:17 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 14 Sep 2022 14:52:52 +0000 (14:52 +0000)
commitd60e51e3539986fcca331cc27f4730a4fe266149
tree1c3632c1e6a35d9b1c3865f812845408fd8fc219
parent72e07dbee086659833ef560ecce517a183d95b23
go/build: remove unnecessary copies of package variables

These variables never change, we don't need second copies of them.

Also rename bPlusBuild to plusBuild, since it is the only remaining
variable with a "b" prefix.

Change-Id: I97089b001d23e9b0f2096e19d9ceed7a9bbb377d
Reviewed-on: https://go-review.googlesource.com/c/go/+/429636
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/go/build/build.go