You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/getting-started.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -175,9 +175,9 @@ should still read the rest of the section:
175
175
| Command | When to use it |
176
176
| --- | --- |
177
177
|`x.py check`| Quick check to see if things compile; rust-analyzer can run this automatically for you |
178
-
|`x.py build --stage 0 [src/libstd]`| Build only the standard library, without building the compiler |
179
-
|`x.py build src/libstd`| Build just the 1st stage of the compiler, along with the standard library; this is faster than building stage 2 and usually good enough |
180
-
|`x.py build --keep-stage 1 src/libstd`| 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.) |
178
+
|`x.py build --stage 0 [library/std]`| Build only the standard library, without building the compiler |
179
+
|`x.py build library/std`| Build just the 1st stage of the compiler, along with the standard library; this is faster than building stage 2 and usually good enough |
180
+
|`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.) |
181
181
|`x.py test [--keep-stage 1]`| Run the test suite using the stage1 compiler |
182
182
|`x.py test --bless [--keep-stage 1]`| Run the test suite using the stage1 compiler _and_ update expected test output. |
183
183
|`x.py build --stage 2 src/rustc`| Do a full 2-stage build. You almost never want to do this. |
@@ -203,10 +203,10 @@ For most contributions, you only need to build stage 1, which saves a lot of tim
203
203
204
204
```sh
205
205
# Build the compiler (stage 1)
206
-
./x.py build src/libstd
206
+
./x.py build library/std
207
207
208
208
# Subsequent builds
209
-
./x.py build --keep-stage 1 src/libstd
209
+
./x.py build --keep-stage 1 library/std
210
210
```
211
211
212
212
This will take a while, especially the first time. Be wary of accidentally
@@ -294,10 +294,10 @@ stage 0, which uses the current beta compiler.
294
294
```
295
295
296
296
```sh
297
-
./x.py test --stage 0 src/libstd
297
+
./x.py test --stage 0 library/std
298
298
```
299
299
300
-
(The same works for `src/liballoc`, `src/libcore`, etc.)
300
+
(The same works for `library/alloc`, `library/core`, etc.)
0 commit comments