Auto merge of #151931 - sizmailov:patch-1, r=jdonszelmann

doc: Replace plain text link with md link to cargo-pgo repo

<img width="1324" height="304" alt="image" src="https://github.com/user-attachments/assets/1ee772e3-6880-4fe7-aa14-cfae4ee73b57" />

https://doc.rust-lang.org/beta/rustc/profile-guided-optimization.html#community-maintained-tools
This commit is contained in:
bors 2026-02-01 09:13:11 +00:00
commit c4dc07385e

View file

@ -151,7 +151,9 @@ to use PGO with Rust.
As an alternative to directly using the compiler for Profile-Guided Optimization, As an alternative to directly using the compiler for Profile-Guided Optimization,
you may choose to go with `cargo-pgo`, which has an intuitive command-line API you may choose to go with `cargo-pgo`, which has an intuitive command-line API
and saves you the trouble of doing all the manual work. You can read more about and saves you the trouble of doing all the manual work. You can read more about
it in their repository accessible from this link: https://github.com/Kobzol/cargo-pgo it in [cargo-pgo repository][cargo-pgo].
[cargo-pgo]: https://github.com/Kobzol/cargo-pgo
For the sake of completeness, here are the corresponding steps using `cargo-pgo`: For the sake of completeness, here are the corresponding steps using `cargo-pgo`: