Skip to content

Commit cb0e26f

Browse files
committed
fix markup
1 parent 755db7f commit cb0e26f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,20 @@
33
There are three types of tools you can write in bootstrap:
44

55
- **`Mode::ToolBootstrap`**
6+
67
Use this for tools that don’t need anything from the in-tree compiler and can run with the stage0 `rustc`.
78
The output is placed in the "bootstrap-tools" directory.
89
This mode is for general-purpose tools built entirely with the stage0 compiler,
910
including target libraries and only works for stage 0.
1011

1112
- **`Mode::ToolStd`**
13+
1214
Use this for tools that rely on the locally built std.
1315
The output goes into the "stageN-tools" directory.
1416
This mode is rarely used, mainly for `compiletest` which requires `libtest`.
1517

1618
- **`Mode::ToolRustcPrivate`**
19+
1720
Use this for tools that use the `rustc_private` mechanism,
1821
and thus depend on the locally built `rustc` and its rlib artifacts.
1922
This is more complex than the other modes because the tool must be built with the same compiler used for `rustc` and placed in the "stageN-tools" directory.

0 commit comments

Comments
 (0)