summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2022-02-27 20:26:00 -0800
committerGitHub <noreply@github.com>2022-02-27 22:26:00 -0600
commit211231eacfcb9ffe7e07c8d2f6b19e2188ea3180 (patch)
tree9cf1caf1c20e49b96beae4f3c0ad68cdd3f86209 /src/doc/rustc-dev-guide
parent02096e23e377b320a0afd8ac61019044e7ac7b06 (diff)
downloadrust-211231eacfcb9ffe7e07c8d2f6b19e2188ea3180.tar.gz
rust-211231eacfcb9ffe7e07c8d2f6b19e2188ea3180.zip
cargo timings has been stabilized (#1319)
Co-authored-by: pierwill <19642016+pierwill@users.noreply.github.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/profiling.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/profiling.md b/src/doc/rustc-dev-guide/src/profiling.md
index 0d333f7be88..711248f19e7 100644
--- a/src/doc/rustc-dev-guide/src/profiling.md
+++ b/src/doc/rustc-dev-guide/src/profiling.md
@@ -17,9 +17,9 @@ Depending on what you're trying to measure, there are several different approach
     full-featured graphical interface.
 
 - If you want a nice visual representation of the compile times of your crate graph,
-  you can use [cargo's `-Z timings` flag](https://doc.rust-lang.org/cargo/reference/unstable.html#timings),
-  eg. `cargo -Z timings build`.
-  You can use this flag on the compiler itself with `CARGOFLAGS="-Z timings" ./x.py build`
+  you can use [cargo's `--timings` flag](https://doc.rust-lang.org/nightly/cargo/reference/timings.html),
+  e.g. `cargo build --timings`.
+  You can use this flag on the compiler itself with `CARGOFLAGS="--timings" ./x.py build`
 
 - If you want to profile memory usage, you can use various tools depending on what operating system
   you are using.