-
David Crawshaw authored
This change passes runtime.Version from the go tool to the compiler. If the versions do not match, the compilation fails. The result is a go tool from one GOROOT will complain loudly if it is invoked with a different GOROOT value. Only release versions are checked, so that when developing Go you can still use "go install cmd/go" and "go install cmd/compile" separately. Fixes #19064 Change-Id: I17e184d07d3c1092b1d9af53ba55ed3ecf67791d Reviewed-on: https://go-review.googlesource.com/42595 Run-TryBot: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
98b3e3a0
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
internal | ||
testdata | ||
alldocs.go | ||
go11.go | ||
go_test.go | ||
go_unix_test.go | ||
go_windows_test.go | ||
main.go | ||
mkalldocs.sh | ||
note_test.go | ||
vendor_test.go |