Skip to content

Commit 5b3e767

Browse files
committed
Update rustc-dev-guide
1 parent d5de99a commit 5b3e767

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ However, using the suite manually can be a bit cumbersome. To make this easier f
77
the compiler build system (`bootstrap`) also provides built-in integration with the benchmarking suite,
88
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.
99

10-
You can use the `./x perf -- <command> [options]` command to use this integration.
11-
12-
> 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.
10+
You can use the `./x perf <command> [options]` command to use this integration.
1311

1412
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.
1513

0 commit comments

Comments
 (0)