Skip to content

Commit 31e4869

Browse files
camelidjyn514
authored andcommitted
Add color for downloaded nodes
1 parent 27512fd commit 31e4869

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/building/bootstrapping.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ Compiling `rustc` is done in stages. Here's a diagram, adapted from Joshua Nelso
2222
[talk on bootstrapping][rustconf22-talk] at RustConf 2022, with detailed explanations below.
2323

2424
The `A`, `B`, `C`, and `D` show the ordering of the stages of bootstrapping.
25-
<span style="background-color: yellow">Yellow</span> nodes are built with the stage0 compiler, and
25+
<span style="background-color: lightblue">Blue</span> nodes are downloaded,
26+
<span style="background-color: yellow">yellow</span> nodes are built with the stage0 compiler, and
2627
<span style="background-color: lightgreen">green</span> nodes are built with the stage1 compiler.
2728

2829
[rustconf22-talk]: https://rustconf.com/schedule#bootstrapping-the-once-and-future-compiler
2930

3031
```mermaid
3132
graph TD
32-
s0c["stage0 compiler (1.63)"] -->|A| s0l("stage0 std (1.64)"):::with-s0c;
33+
s0c["stage0 compiler (1.63)"]:::downloaded -->|A| s0l("stage0 std (1.64)"):::with-s0c;
3334
s0c & s0l --- stepb[ ]:::empty;
3435
stepb -->|B| s0ca["stage0 compiler artifacts (1.64)"]:::with-s0c;
3536
s0ca -->|copy| s1c["stage1 compiler (1.64)"]:::with-s0c;
@@ -39,8 +40,9 @@ graph TD
3940
s1ca -->|copy| s2c["stage2 compiler"]:::with-s1c;
4041
4142
classDef empty width:0px,height:0px;
43+
classDef downloaded fill: lightblue;
4244
classDef with-s0c fill: yellow;
43-
classDef with-s1c fill: lightgreen, color: black;
45+
classDef with-s1c fill: lightgreen;
4446
```
4547

4648
### Stage 0

0 commit comments

Comments
 (0)