Skip to content

Commit d672c27

Browse files
jyn514camelid
andauthored
Add backticks to code
Co-authored-by: Camelid <37223377+camelid@users.noreply.github.com>
1 parent 9d01385 commit d672c27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/building/bootstrapping.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ another program we are building with the stage N compiler:
143143
`build --stage N compiler/rustc` is linking the stage (N+1) compiler to the `std`
144144
built by the stage N compiler.
145145

146-
Here is a chart of a full build using x.py:
146+
Here is a chart of a full build using `x.py`:
147147

148148
<img alt="A diagram of the rustc compilation phases" src="../img/rustc_stages.svg" class="center" />
149149

@@ -187,7 +187,7 @@ to the `std` that `stage2/rustc` would compile.
187187
However, when cross-compiling, stage1 `std` will only run on the host.
188188
So the stage2 compiler has to recompile `std` for the target.
189189

190-
### Why does only libstd use cfg(bootstrap)?
190+
### Why does only libstd use `cfg(bootstrap)`?
191191

192192
The `rustc` generated by the stage0 compiler is linked to the freshly-built
193193
`std`, which means that for the most part only `std` needs to be cfg-gated,

0 commit comments

Comments
 (0)