summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-09-10 18:29:08 -0400
committerJoshua Nelson <joshua@yottadb.com>2020-09-10 23:56:41 -0400
commit917a1a0658f4c40acf2415bf83dcb02fd28278f8 (patch)
tree7244cd0e70b47768ebb191939fdcc70fd8493cf4 /src/doc/rustc-dev-guide
parent81b8c1b555de74bdaf82f5482513aa4fe61d3534 (diff)
downloadrust-917a1a0658f4c40acf2415bf83dcb02fd28278f8.tar.gz
rust-917a1a0658f4c40acf2415bf83dcb02fd28278f8.zip
Fix incorrect docs about stages
`build library/core` builds the compiler, not just the standard library.
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md2
1 files changed, 1 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 af6123e16a5..07c8ed06973 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
@@ -172,7 +172,7 @@ build. The **full** `rustc` build (what you get if you say `./x.py build
 - Build only the core library
 
 ```bash
-./x.py build library/core
+./x.py build --stage 0 library/core
 ```
 
 - Build only the core and `proc_macro` libraries