Skip to content

Commit 29267fa

Browse files
authored
Merge pull request #2482 from jieyouxu/download-rustc
Add temporary broken `./x test library/std` advisory
2 parents b47ab90 + a20a490 commit 29267fa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/building/how-to-build-and-run.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
<!-- toc -->
44

5+
<div class="warning">
6+
7+
For `profile = "library"` users, or users who use `download-rustc = true | "if-unchanged"`, please be advised that
8+
the `./x test library/std` flow where `download-rustc` is active (i.e. no compiler changes) is currently broken.
9+
This is tracked in <https://github.com/rust-lang/rust/issues/142505>. Only the `./x test` flow is affected in this
10+
case, `./x {check,build} library/std` should still work.
11+
12+
In the short-term, you may need to disable `download-rustc` for `./x test library/std`. This can be done either by:
13+
14+
1. `./x test library/std --set rust.download-rustc=false`
15+
2. Or set `rust.download-rustc=false` in `bootstrap.toml`.
16+
17+
Unfortunately that will require building the stage 1 compiler. The bootstrap team is working on this, but
18+
implementing a maintainable fix is taking some time.
19+
20+
</div>
21+
22+
523
The compiler is built using a tool called `x.py`. You will need to
624
have Python installed to run it.
725

0 commit comments

Comments
 (0)