From 94f020ada07cf69ce10c3b4960182571efd52259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Orell=20Valerian=20Liehr?= Date: Wed, 28 Feb 2024 05:54:56 +0100 Subject: [PATCH] Update rustdoc build instructions --- src/rustdoc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rustdoc.md b/src/rustdoc.md index 02da8be81..b8aa8dde1 100644 --- a/src/rustdoc.md +++ b/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