• Russ Cox's avatar
    cmd/go: include Go toolchain information in build ID · 3ab9ff11
    Russ Cox authored
    This causes packages and binaries built by Go 1.5 to look
    out of date to Go 1.6 and vice versa, so that when you flip
    between different Go versions but keep the same GOPATH,
    the right rebuilding happens at each flip.
    
    Go 1.4 binaries will also look out of date to Go 1.5,
    but Go 1.5 binaries will not look out of date to Go 1.4
    (since Go 1.4 doesn't have anything like this).
    People flipping between Go 1.4 and Go 1.5 will still
    need to use go install -a every time to flip to Go 1.4,
    but not when they flip back to Go 1.5.
    
    Fixes #6534.
    Fixes #10702.
    
    Change-Id: I0ae7f268f822d483059a938a4f22846ff9275b4c
    Reviewed-on: https://go-review.googlesource.com/10760Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Reviewed-by: 's avatarAndrew Gerrand <adg@golang.org>
    3ab9ff11
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...