about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-02-28 05:54:56 +0100
committernora <48135649+Noratrieb@users.noreply.github.com>2024-09-24 20:47:22 +0200
commit199df8fcd4771890b9938fbcf99b2e891eccb207 (patch)
treeb9cd3cf7a861549c153bb8312ce6c17a57833d4a /src/doc/rustc-dev-guide
parent98870842b243deabf88c2aac1ecbc694f89cf0d4 (diff)
downloadrust-199df8fcd4771890b9938fbcf99b2e891eccb207.tar.gz
rust-199df8fcd4771890b9938fbcf99b2e891eccb207.zip
Update rustdoc build instructions
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/rustdoc.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/rustdoc.md b/src/doc/rustc-dev-guide/src/rustdoc.md
index b09ae319df6..3867d248988 100644
--- a/src/doc/rustc-dev-guide/src/rustdoc.md
+++ b/src/doc/rustc-dev-guide/src/rustdoc.md
@@ -44,8 +44,8 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
 * Run `./x setup tools` before getting started. This will configure `x`
   with nice settings for developing rustdoc and other tools, including
   downloading a copy of rustc rather than building it.
-* Use `./x check src/tools/rustdoc` to quickly check for compile errors.
-* Use `./x build` to make a usable
+* Use `./x check rustdoc` to quickly check for compile errors.
+* Use `./x build library rustdoc` to make a usable
   rustdoc you can run on other projects.
   * Add `library/test` to be able to use `rustdoc --test`.
   * Run `rustup toolchain link stage2 build/host/stage2` to add a