about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTshepang Mbambo <hopsi@tuta.io>2025-09-08 06:50:14 +0200
committerTshepang Mbambo <hopsi@tuta.io>2025-09-08 06:50:14 +0200
commitcb0e26ff4c40bc7e8e05d62f12ca685928a5f130 (patch)
tree4fec154ea7fcca095316021beb52c4367ba4ff42 /src/doc/rustc-dev-guide
parent755db7fdac7217dc320cd2649e213df63e6411dd (diff)
fix markup
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md b/src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md
index f5f4dfadce2..8bda2257536 100644
--- a/src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md
+++ b/src/doc/rustc-dev-guide/src/building/bootstrapping/writing-tools-in-bootstrap.md
@@ -3,17 +3,20 @@
 There are three types of tools you can write in bootstrap:
 
 - **`Mode::ToolBootstrap`**
+
   Use this for tools that don’t need anything from the in-tree compiler and can run with the stage0 `rustc`.
   The output is placed in the "bootstrap-tools" directory.
   This mode is for general-purpose tools built entirely with the stage0 compiler,
   including target libraries and only works for stage 0.
 
 - **`Mode::ToolStd`**
+
   Use this for tools that rely on the locally built std.
   The output goes into the "stageN-tools" directory.
   This mode is rarely used, mainly for `compiletest` which requires `libtest`.
 
 - **`Mode::ToolRustcPrivate`**
+
   Use this for tools that use the `rustc_private` mechanism,
   and thus depend on the locally built `rustc` and its rlib artifacts.
   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.