File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ another program we are building with the stage N compiler:
157
157
` build --stage N compiler/rustc ` is linking the stage (N+1) compiler to the ` std `
158
158
built by the stage N compiler.
159
159
160
- Here is a chart of a full build using x.py:
160
+ Here is a chart of a full build using ` x.py ` :
161
161
162
162
<img alt =" A diagram of the rustc compilation phases " src =" ../img/rustc_stages.svg " class =" center " />
163
163
@@ -201,7 +201,7 @@ to the `std` that `stage2/rustc` would compile.
201
201
However, when cross-compiling, stage1 ` std ` will only run on the host.
202
202
So the stage2 compiler has to recompile ` std ` for the target.
203
203
204
- ### Why does only libstd use cfg(bootstrap)?
204
+ ### Why does only libstd use ` cfg(bootstrap) ` ?
205
205
206
206
The ` rustc ` generated by the stage0 compiler is linked to the freshly-built
207
207
` std ` , which means that for the most part only ` std ` needs to be cfg-gated,
You can’t perform that action at this time.
0 commit comments