From: Ian Lance Taylor
Date: Fri, 4 Aug 2017 18:23:25 +0000 (-0700)
Subject: doc: mention handling of moved GOROOT in 1.9 release notes
X-Git-Tag: go1.9rc2~1^2~7
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=909f409a8d;p=gostls13.git
doc: mention handling of moved GOROOT in 1.9 release notes
Updates #20587
Change-Id: Ia131b9a4dc4986950d9ecbfcbd6b026ade234fc0
Reviewed-on: https://go-review.googlesource.com/53370
Reviewed-by: Brad Fitzpatrick
---
diff --git a/doc/go1.9.html b/doc/go1.9.html
index aafd03c51f..7cee379c45 100644
--- a/doc/go1.9.html
+++ b/doc/go1.9.html
@@ -156,6 +156,21 @@ type T1 = T2
directories, write ./vendor/...
.
+Moved GOROOT
+
+
+ The go tool will now use the path from which it
+ was invoked to attempt to locate the root of the Go install tree.
+ This means that if the entire Go installation is moved to a new
+ location, the go tool should continue to work as usual.
+ This may be overriden by setting GOROOT
in the environment,
+ which should only be done in unusual circumstances.
+ Note that this does not affect the result of
+ the runtime.GOROOT function, which
+ will continue to report the original installation location;
+ this may be fixed in later releases.
+
+
Compiler Toolchain