Skip to content

Commit 596528e

Browse files
jyn514camelid
andcommitted
Add backticks to code
Co-authored-by: Camelid <[email protected]>
1 parent 7a77a15 commit 596528e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/building/bootstrapping.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ another program we are building with the stage N compiler:
157157
`build --stage N compiler/rustc` is linking the stage (N+1) compiler to the `std`
158158
built by the stage N compiler.
159159

160-
Here is a chart of a full build using x.py:
160+
Here is a chart of a full build using `x.py`:
161161

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

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

204-
### Why does only libstd use cfg(bootstrap)?
204+
### Why does only libstd use `cfg(bootstrap)`?
205205

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

0 commit comments

Comments
 (0)