@@ -148,13 +148,13 @@ probably the best "go to" command for building a local rust:
148
148
./x.py build -i --stage 1 src/libstd
149
149
```
150
150
151
- This may * look* like it only builds libstd, but that is not the case.
151
+ This may * look* like it only builds ` libstd ` , but that is not the case.
152
152
What this command does is the following:
153
153
154
154
- Build ` libstd ` using the stage0 compiler (using incremental)
155
155
- Build ` librustc ` using the stage0 compiler (using incremental)
156
156
- This produces the stage1 compiler
157
- - Build libstd using the stage1 compiler (cannot use incremental)
157
+ - Build ` libstd ` using the stage1 compiler (cannot use incremental)
158
158
159
159
This final product (stage1 compiler + libs built using that compiler)
160
160
is what you need to build other rust programs (unless you use ` #![no_std] ` or
@@ -180,8 +180,8 @@ build`) has quite a few more steps:
180
180
181
181
- Build ` librustc ` and ` rustc ` with the stage1 compiler.
182
182
- The resulting compiler here is called the "stage2" compiler.
183
- - Build libstd with stage2 compiler.
184
- - Build librustdoc and a bunch of other things with the stage2 compiler.
183
+ - Build ` libstd ` with stage2 compiler.
184
+ - Build ` librustdoc ` and a bunch of other things with the stage2 compiler.
185
185
186
186
<a name =toolchain ></a >
187
187
@@ -254,11 +254,11 @@ in other sections:
254
254
- ` ./x.py clean ` – clean up the build directory (` rm -rf build ` works too,
255
255
but then you have to rebuild LLVM)
256
256
- ` ./x.py build --stage 1 ` – builds everything using the stage 1 compiler,
257
- not just up to libstd
257
+ not just up to ` libstd `
258
258
- ` ./x.py build ` – builds the stage2 compiler
259
259
- Running tests (see the [ section on running tests] ( ../tests/running.html ) for
260
260
more details):
261
- - ` ./x.py test --stage 1 src/libstd ` – runs the ` #[test] ` tests from libstd
261
+ - ` ./x.py test --stage 1 src/libstd ` – runs the ` #[test] ` tests from ` libstd `
262
262
- ` ./x.py test --stage 1 src/test/ui ` – runs the ` ui ` test suite
263
263
- ` ./x.py test --stage 1 src/test/ui/const-generics ` - runs all the tests in
264
264
the ` const-generics/ ` subdirectory of the ` ui ` test suite
@@ -268,7 +268,7 @@ in other sections:
268
268
### Cleaning out build directories
269
269
270
270
Sometimes you need to start fresh, but this is normally not the case.
271
- If you need to run this then rustbuild is most likely not acting right and
271
+ If you need to run this then ` rustbuild ` is most likely not acting right and
272
272
you should file a bug as to what is going wrong. If you do need to clean
273
273
everything up then you only need to run one command!
274
274
0 commit comments