about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/suggested.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md
index 0cc91b40343..424452b6273 100644
--- a/src/doc/rustc-dev-guide/src/building/suggested.md
+++ b/src/doc/rustc-dev-guide/src/building/suggested.md
@@ -81,7 +81,7 @@ don't work (but that is easily detected and fixed).
 The sequence of commands you want is as follows:
 
 - Initial build: `./x.py build -i library/std`
-  - As [documented above](#command), this will build a functional
+  - As [documented previously], this will build a functional
     stage1 compiler as part of running all stage0 commands (which include
     building a `std` compatible with the stage1 compiler) as well as the
     first few steps of the "stage 1 actions" up to "stage1 (sysroot stage1)
@@ -89,6 +89,8 @@ The sequence of commands you want is as follows:
 - Subsequent builds: `./x.py build -i library/std --keep-stage 1`
   - Note that we added the `--keep-stage 1` flag here
 
+[documented previously]: ./how-to-build-and-run.md#building-the-compiler
+
 As mentioned, the effect of `--keep-stage 1` is that we just *assume* that the
 old standard library can be re-used. If you are editing the compiler, this
 is almost always true: you haven't changed the standard library, after