Skip to content

Commit 211231e

Browse files
ehusspierwill
andauthored
cargo timings has been stabilized (rust-lang#1319)
Co-authored-by: pierwill <[email protected]>
1 parent 02096e2 commit 211231e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/doc/rustc-dev-guide/src/profiling.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Depending on what you're trying to measure, there are several different approach
1717
full-featured graphical interface.
1818

1919
- If you want a nice visual representation of the compile times of your crate graph,
20-
you can use [cargo's `-Z timings` flag](https://doc.rust-lang.org/cargo/reference/unstable.html#timings),
21-
eg. `cargo -Z timings build`.
22-
You can use this flag on the compiler itself with `CARGOFLAGS="-Z timings" ./x.py build`
20+
you can use [cargo's `--timings` flag](https://doc.rust-lang.org/nightly/cargo/reference/timings.html),
21+
e.g. `cargo build --timings`.
22+
You can use this flag on the compiler itself with `CARGOFLAGS="--timings" ./x.py build`
2323

2424
- If you want to profile memory usage, you can use various tools depending on what operating system
2525
you are using.

0 commit comments

Comments
 (0)