Bootstrap deletes the sysroot directory when alternating between check and build, breaking --keep-stage #52565
Labels
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
If I run
x.py build
without--keep-stage
or--stage
and then in subsequent builds use only--keep-stage 0
then bootstrap runs as expected.However, it seems though that if I switch to using
x.py check
(still with--keep-stage 0
) then any subsequentx.py build
s with--keep-stage 0
will fail with the below error unless I do a full build without--keep-stage 0
again.The text was updated successfully, but these errors were encountered: