We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ecc8c3 commit 515535aCopy full SHA for 515535a
src/doc/rustc/src/profile-guided-optimization.md
@@ -156,9 +156,10 @@ it in their repository accessible from this link: https://github.com/Kobzol/carg
156
For the sake of completeness, here are the corresponding steps using `cargo-pgo`:
157
158
```bash
159
-# Install the binary as usual: cargo install cargo-pgo
+# Install if you haven't already
160
+cargo install cargo-pgo
161
+
162
cargo pgo build
-LLVM_PROFILE_FILE=./target/pgo-profiles/rustc-pgo_%m_%p.profraw ./target/x86_64-unknown-linux-gnu/release/myprogram
163
cargo pgo optimize
164
```
165
0 commit comments