improve section introduction

This commit is contained in:
Ralf Jung 2021-05-26 12:22:20 +02:00 committed by Joshua Nelson
parent 1353f7fe08
commit 3d9d15d1f5
1 changed files with 10 additions and 13 deletions

View File

@ -258,19 +258,16 @@ before the PR is merged.
#### Breaking Tools Built With The Compiler #### Breaking Tools Built With The Compiler
Rust's build system builds a number of tools that make use of the Rust's build system builds a number of tools that make use of the internals of
internals of the compiler. This includes the compiler and that are hosted in a separate repository, and included in Rust
[RLS](https://github.com/rust-lang/rls) and via git submodules. This includes [RLS](https://github.com/rust-lang/rls) and
[miri](https://github.com/rust-lang/miri). If these tools [Miri](https://github.com/rust-lang/Miri). If these tools break because of your
break because of your changes, you may run into a sort of "chicken and egg" changes, you may run into a sort of "chicken and egg" problem. These tools rely
problem. These tools rely on the latest compiler to be built so you can't update on the latest compiler to be built so you can't update them (in their own
them to reflect your changes to the compiler until those changes are merged into repositories) to reflect your changes to the compiler until those changes are
the compiler. At the same time, you can't get your changes merged into the compiler merged into the compiler. At the same time, you can't get your changes merged
because the rust-lang/rust build won't pass until those tools build and pass their into the compiler because the rust-lang/rust build won't pass until those tools
tests. build and pass their tests.
That would mean that, in the default state, you couldn't update the compiler without first
fixing miri, rls and the other tools that the compiler builds.
Luckily, a feature was Luckily, a feature was
[added to Rust's build](https://github.com/rust-lang/rust/issues/45861) to make [added to Rust's build](https://github.com/rust-lang/rust/issues/45861) to make