]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.19: add a release note for CL 404134
authorBryan C. Mills <bcmills@google.com>
Fri, 27 May 2022 20:51:06 +0000 (16:51 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 2 Jun 2022 20:39:24 +0000 (20:39 +0000)
For #51473.

Change-Id: I01a35e5ebc83b8b72e414ed1730e9147ea590959
Reviewed-on: https://go-review.googlesource.com/c/go/+/409176
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
doc/go1.19.html

index f57451eb4f06436a92baf4037d09da75dd6bf278..be313f0f3b5593ee8302f504191e035d3c7568cb 100644 (file)
@@ -50,6 +50,13 @@ Do not send CLs removing the interior tags from such phrases.
   with <code>-trimpath</code>.
 </p>
 
+<p><!-- CL 404134 -->
+  <code>go</code> <code>test</code> and <code>go</code> <code>generate</code> now place
+  <code>GOROOT/bin</code> at the beginning of the <code>PATH</code> used for the
+  subprocess, so tests and generators that execute the <code>go</code> command
+  will resolve it to same <code>GOROOT</code>.
+</p>
+
 <p><!-- CL 398058 -->
   <code>go</code> <code>env</code> now quotes entries that contain spaces in
   the <code>CGO_CFLAGS</code>, <code>CGO_CPPFLAGS</code>, <code>CGO_CXXFLAGS</code>, <code>CGO_FFLAGS</code>, <code>CGO_LDFLAGS</code>,