]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix experiment isolation in cache key
authorRuss Cox <rsc@golang.org>
Tue, 13 Nov 2018 15:09:22 +0000 (10:09 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 16 Nov 2018 17:50:00 +0000 (17:50 +0000)
commit94f7795d05937fdf6187c7f850f8902c0f7a6d81
tree60b197fede2b1b049114436b07d7dd1864d65b33
parentf53a98685664e5157977c92651bc99b1f0418db5
cmd/go: fix experiment isolation in cache key

In general we don't assume that the go command knows the
specific version of the compiler being used, including which
experiments the compiler was built with. Let the compiler tell us,
instead of importing cmd/internal/objabi from cmd/go.

Replacement for CL 128735.

Change-Id: Iaa07f46e19764d0fb14a1c89979bea7bb7139b9c
Reviewed-on: https://go-review.googlesource.com/c/149338
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/internal/work/buildid.go
src/cmd/internal/objabi/flag.go