Skip to content

Commit afdad07

Browse files
fmeaseNoratrieb
authored andcommitted
Update rustdoc build instructions
1 parent e7e1a20 commit afdad07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rustdoc.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ does is call the `main()` that's in this crate's `lib.rs`, though.)
4444
* Run `./x setup tools` before getting started. This will configure `x`
4545
with nice settings for developing rustdoc and other tools, including
4646
downloading a copy of rustc rather than building it.
47-
* Use `./x check src/tools/rustdoc` to quickly check for compile errors.
48-
* Use `./x build` to make a usable
47+
* Use `./x check rustdoc` to quickly check for compile errors.
48+
* Use `./x build library rustdoc` to make a usable
4949
rustdoc you can run on other projects.
5050
* Add `library/test` to be able to use `rustdoc --test`.
5151
* Run `rustup toolchain link stage2 build/host/stage2` to add a

0 commit comments

Comments
 (0)