Skip to content

Commit 811e628

Browse files
committed
reduce overlong lines
1 parent 51abe3c commit 811e628

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/building/bootstrapping/writing-tools-in-bootstrap.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,16 @@ There are three types of tools you can write in bootstrap:
1919

2020
Use this for tools that use the `rustc_private` mechanism,
2121
and thus depend on the locally built `rustc` and its rlib artifacts.
22-
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.
23-
When you choose `Mode::ToolRustcPrivate`, `ToolBuild` implementation takes care of this automatically.
22+
This is more complex than the other modes,
23+
because the tool must be built with the same compiler used for `rustc`,
24+
and placed in the "stageN-tools" directory.
25+
When you choose `Mode::ToolRustcPrivate`,
26+
`ToolBuild` implementation takes care of this automatically.
2427
If you need to use the builder’s compiler for something specific,
2528
you can get it from `ToolBuildResult`, which is returned by the tool's [`Step`].
2629

27-
Regardless of the tool type you must return `ToolBuildResult` from the tool’s [`Step`] implementation and use `ToolBuild` inside it.
30+
Regardless of the tool type,
31+
you must return `ToolBuildResult` from the tool’s [`Step`] implementation,
32+
and use `ToolBuild` inside it.
2833

2934
[`Step`]: https://doc.rust-lang.org/nightly/nightly-rustc/bootstrap/core/builder/trait.Step.html

0 commit comments

Comments
 (0)