Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/packages: pass -pgo=off on go1.21 and later
PGO variants can be costly to compute, and can result in unnecessary packages for the caller. They are also unlikely to be useful. Disable these variants by default, setting -pgo=off on go1.21 and later. If someone wants to see PGO variants we can have a NeedPGO flag, but that should be a separate proposal. Fixes golang/go#60456 Change-Id: Ifc706fe7503f841cbe4fa4326b08717a70b4368b Reviewed-on: https://go-review.googlesource.com/c/tools/+/498557 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> Reviewed-by: Alan Donovan <adonovan@google.com>
- Loading branch information