From bb4695345ed432382f20e7ee1023754fa04a215c Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sun, 6 Sep 2020 22:14:19 +0800 Subject: [PATCH] Rename src/rustc to compiler/rustc --- src/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/getting-started.md b/src/getting-started.md index 055551c6..9c67f3dc 100644 --- a/src/getting-started.md +++ b/src/getting-started.md @@ -180,14 +180,14 @@ should still read the rest of the section: | `x.py build --keep-stage 1 library/std` | Build the 1st stage of the compiler and skips rebuilding the standard library; this is useful after you've done an ordinary stage1 build to skip compilation time, but it can cause weird problems. (Just do a regular build to resolve.) | | `x.py test [--keep-stage 1]` | Run the test suite using the stage1 compiler | | `x.py test --bless [--keep-stage 1]` | Run the test suite using the stage1 compiler _and_ update expected test output. | -| `x.py build --stage 2 src/rustc` | Do a full 2-stage build. You almost never want to do this. | +| `x.py build --stage 2 compiler/rustc` | Do a full 2-stage build. You almost never want to do this. | | `x.py test --stage 2` | Do a full 2-stage build and run all tests. You almost never want to do this. | To do a full 2-stage build of the whole compiler, you should run this (after updating `config.toml` as mentioned above): ```sh -./x.py build --stage 2 src/rustc +./x.py build --stage 2 compiler/rustc ``` In the process, this will also necessarily build the standard libraries, and it