diff options
author | Cherry Mui <cherryyz@google.com> | 2023-03-07 17:49:34 -0500 |
---|---|---|
committer | Cherry Mui <cherryyz@google.com> | 2023-03-22 21:17:50 +0000 |
commit | 0aa14fca8c639c9ceba264dbf0d82bd53306aeaa (patch) | |
tree | 5dc6d05d65f07dec5af27adaff8b02951fe3d3c4 /src/cmd/go/alldocs.go | |
parent | 3d28e0ebb9411e7dbd8032b6071c4f5db823ebe9 (diff) | |
download | go-0aa14fca8c639c9ceba264dbf0d82bd53306aeaa.tar.gz go-0aa14fca8c639c9ceba264dbf0d82bd53306aeaa.zip |
cmd/go: enable -pgo=auto by default
Updates #58099.
Updates #55022.
Change-Id: I32eacdf9f008d16566e0b30230ecc25d110a9811
Reviewed-on: https://go-review.googlesource.com/c/go/+/474236
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/cmd/go/alldocs.go')
-rw-r--r-- | src/cmd/go/alldocs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index ca676d5a88..d6701dcfff 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -206,7 +206,7 @@ // build, the go command selects a file named "default.pgo" in the package's // directory if that file exists, and applies it to the (transitive) // dependencies of the main package (other packages are not affected). -// Special name "off" turns off PGO. +// Special name "off" turns off PGO. The default is "auto". // -pkgdir dir // install and load all packages from dir instead of the usual locations. // For example, when building with a non-standard configuration, |