diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-06-29 08:10:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-29 08:10:52 +0200 |
| commit | 56283410f26472ec72a6673a1cbb2d8c4efdff15 (patch) | |
| tree | 05b8ff0c31f46da1789801272a4e7dfd24555c78 | |
| parent | 84abd4efbca5e5ce5accec20c1b41d5866047d34 (diff) | |
| parent | e9721a69a7c39904d27d1d96f575eeb9c0f37fe3 (diff) | |
| download | rust-56283410f26472ec72a6673a1cbb2d8c4efdff15.tar.gz rust-56283410f26472ec72a6673a1cbb2d8c4efdff15.zip | |
Merge pull request #2482 from jieyouxu/download-rustc
Add temporary broken `./x test library/std` advisory
| -rw-r--r-- | src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md index c4783002b85..d29cd144810 100644 --- a/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md +++ b/src/doc/rustc-dev-guide/src/building/how-to-build-and-run.md @@ -2,6 +2,24 @@ <!-- toc --> +<div class="warning"> + +For `profile = "library"` users, or users who use `download-rustc = true | "if-unchanged"`, please be advised that +the `./x test library/std` flow where `download-rustc` is active (i.e. no compiler changes) is currently broken. +This is tracked in <https://github.com/rust-lang/rust/issues/142505>. Only the `./x test` flow is affected in this +case, `./x {check,build} library/std` should still work. + +In the short-term, you may need to disable `download-rustc` for `./x test library/std`. This can be done either by: + +1. `./x test library/std --set rust.download-rustc=false` +2. Or set `rust.download-rustc=false` in `bootstrap.toml`. + +Unfortunately that will require building the stage 1 compiler. The bootstrap team is working on this, but +implementing a maintainable fix is taking some time. + +</div> + + The compiler is built using a tool called `x.py`. You will need to have Python installed to run it. |
