diff --git a/doc/go1.21.html b/doc/go1.21.html index 421a509fea1..66bf5470baf 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -52,8 +52,13 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: complete this section, or delete if not needed +
<-- https://go.dev/issue/58099, CL 474236 -->
+ The -pgo
build flag now defaults to -pgo=auto
,
+ and the restriction of specifying a single main package on the command
+ line is now removed. If a file named default.pgo
is present
+ in the main package's directory, the go
command will use
+ it to enable profile-guided optimization for building the corresponding
+ program.