diff --git a/doc/go1.19.html b/doc/go1.19.html index 21781c3e33..a813d59cb8 100644 --- a/doc/go1.19.html +++ b/doc/go1.19.html @@ -36,11 +36,6 @@ Do not send CLs removing the interior tags from such phrases.
-
- Passing the -trimpath flag to go commands now
- causes runtime.GOROOT() in the resulting binary to return the
- empty string instead of the string "go".
-
The -trimpath flag, if set, is now included in the build settings
stamped into Go binaries by go build, and can be
@@ -137,6 +132,17 @@ Do not send CLs removing the interior tags from such phrases.
+
+ The GOROOT function now returns the empty string
+ (instead of "go") when the binary was built with
+ the -trimpath flag set and the GOROOT
+ variable is not set in the process environment.
+