about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-02-04 11:10:14 +0100
committerJakub Beránek <berykubik@gmail.com>2025-02-05 15:33:40 +0100
commit5b3e767ae8e17e77247dfe0b4046ad0afbbafee7 (patch)
tree4684ec1b202eefbe03bdd96c6fd96eef3aba9a03
parentd5de99a3486a10ed874f3cf43075ffc8909a374b (diff)
downloadrust-5b3e767ae8e17e77247dfe0b4046ad0afbbafee7.tar.gz
rust-5b3e767ae8e17e77247dfe0b4046ad0afbbafee7.zip
Update rustc-dev-guide
-rw-r--r--src/doc/rustc-dev-guide/src/profiling/with_rustc_perf.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/profiling/with_rustc_perf.md b/src/doc/rustc-dev-guide/src/profiling/with_rustc_perf.md
index 87d205d9ebe..eda8c3a179c 100644
--- a/src/doc/rustc-dev-guide/src/profiling/with_rustc_perf.md
+++ b/src/doc/rustc-dev-guide/src/profiling/with_rustc_perf.md
@@ -7,9 +7,7 @@ However, using the suite manually can be a bit cumbersome. To make this easier f
 the compiler build system (`bootstrap`) also provides built-in integration with the benchmarking suite,
 which will download and build the suite for you, build a local compiler toolchain and let you profile it using a simplified command-line interface.
 
-You can use the `./x perf -- <command> [options]` command to use this integration.
-
-> Note that you need to specify arguments after `--` in the `x perf` command! You will not be able to pass arguments without the double dashes.
+You can use the `./x perf <command> [options]` command to use this integration.
 
 You can use normal bootstrap flags for this command, such as `--stage 1` or `--stage 2`, for example to modify the stage of the created sysroot. It might also be useful to configure `config.toml` to better support profiling, e.g. set `rust.debuginfo-level = 1` to add source line information to the built compiler.