about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-11-24 22:32:07 -0500
committerNoah Lev <camelidcamel@gmail.com>2022-11-28 19:00:24 -0800
commit198cfd748f6faca9763ccc7d8b2c7327a60732a1 (patch)
treea7d19cecd1922b801c43a87c01fa68f4434bb4e8 /src/doc/rustc-dev-guide
parent3fb08acd43885828140bc1815bcc46eea93d5faa (diff)
downloadrust-198cfd748f6faca9763ccc7d8b2c7327a60732a1.tar.gz
rust-198cfd748f6faca9763ccc7d8b2c7327a60732a1.zip
Link directly to the section on `--keep-stage`
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
index c5cf3166d7c..934254619a7 100644
--- a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
+++ b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md
@@ -152,7 +152,9 @@ is what you need to build other Rust programs (unless you use `#![no_std]` or
 
 You will probably find that building the stage1 `std` is a bottleneck for you,
 but fear not, there is a (hacky) workaround...
-see [the section on "recommended workflows"](./suggested.md) below.
+see [the section on avoiding rebuilds for std][keep-stage].
+
+[keep-stage]: ./suggested.md#incremental-builds-with---keep-stage
 
 Note that this whole command just gives you a subset of the full `rustc`
 build. The **full** `rustc` build (what you get with `./x.py build