1
0
mirror of https://github.com/golang/go synced 2024-10-04 21:21:22 -06:00
go/src/cmd
Russ Cox 3ab9ff1107 cmd/go: include Go toolchain information in build ID
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/10760
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
2015-06-15 18:57:35 +00:00
..
addr2line cmd/addr2line: skip fork test on darwin/arm64 2015-04-12 11:53:24 +00:00
api go/importer: added go/importer package, adjusted go/types 2015-04-15 02:28:53 +00:00
asm all: fix misprints in comments 2015-06-11 14:18:57 +00:00
cgo cmd/cgo: make sure pointers passed to C escape to heap 2015-06-15 17:39:53 +00:00
compile runtime: use type-based write barrier for remote stack write during chansend 2015-06-15 16:50:30 +00:00
cover cmd/cover: fix missing error check in test 2015-06-02 05:23:55 +00:00
dist cmd/dist: convert testso test into Go 2015-06-12 04:33:50 +00:00
doc cmd/doc: do not show unexported constants 2015-06-04 21:51:49 +00:00
fix all: use "reports whether" in place of "returns true if(f)" 2015-03-18 15:14:06 +00:00
go cmd/go: include Go toolchain information in build ID 2015-06-15 18:57:35 +00:00
gofmt cmd/gofmt, go/format: refactor common pieces into internal/format 2015-04-01 17:35:26 +00:00
internal all: fix misprints in comments 2015-06-11 14:18:57 +00:00
link all: fix misprints in comments 2015-06-11 14:18:57 +00:00
newlink cmd/link: move to cmd/newlink 2015-05-21 17:31:40 +00:00
nm cmd/nm: skip fork test on darwin/arm64 2015-04-12 11:52:22 +00:00
objdump all: fix misprints in comments 2015-06-11 14:18:57 +00:00
old5a cmd/old5a, cmd/old8a, cmd/old9a: rebuild y.go 2015-05-29 17:36:43 +00:00
old6a cmd/internal/obj: make Prog.From3 a pointer 2015-05-29 16:19:02 +00:00
old8a cmd/old5a, cmd/old8a, cmd/old9a: rebuild y.go 2015-05-29 17:36:43 +00:00
old9a cmd/old5a, cmd/old8a, cmd/old9a: rebuild y.go 2015-05-29 17:36:43 +00:00
pack all: retire architecture letter in file names, public API 2015-05-21 17:32:17 +00:00
pprof all: fix misprints in comments 2015-06-11 14:18:57 +00:00
trace cmd/trace: fix panic in goroutine profile 2015-06-14 21:57:24 +00:00
vet cmd/vet: extend copylocks to anonymous functions 2015-06-13 03:07:43 +00:00
yacc all: fix misprints in comments 2015-06-11 14:18:57 +00:00