Skip to content

Commit 14a92d3

Browse files
authored
quote some commands by to make the style more consistent (#611)
1 parent 601fee4 commit 14a92d3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/building/how-to-build-and-run.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,13 @@ probably the best "go to" command for building a local rust:
148148
./x.py build -i --stage 1 src/libstd
149149
```
150150

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.
152152
What this command does is the following:
153153

154154
- Build `libstd` using the stage0 compiler (using incremental)
155155
- Build `librustc` using the stage0 compiler (using incremental)
156156
- 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)
158158

159159
This final product (stage1 compiler + libs built using that compiler)
160160
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:
180180

181181
- Build `librustc` and `rustc` with the stage1 compiler.
182182
- 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.
185185

186186
<a name=toolchain></a>
187187

@@ -254,11 +254,11 @@ in other sections:
254254
- `./x.py clean` – clean up the build directory (`rm -rf build` works too,
255255
but then you have to rebuild LLVM)
256256
- `./x.py build --stage 1` – builds everything using the stage 1 compiler,
257-
not just up to libstd
257+
not just up to `libstd`
258258
- `./x.py build` – builds the stage2 compiler
259259
- Running tests (see the [section on running tests](../tests/running.html) for
260260
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`
262262
- `./x.py test --stage 1 src/test/ui` – runs the `ui` test suite
263263
- `./x.py test --stage 1 src/test/ui/const-generics` - runs all the tests in
264264
the `const-generics/` subdirectory of the `ui` test suite
@@ -268,7 +268,7 @@ in other sections:
268268
### Cleaning out build directories
269269

270270
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
272272
you should file a bug as to what is going wrong. If you do need to clean
273273
everything up then you only need to run one command!
274274

0 commit comments

Comments
 (0)