Bumping beta compiler can require nuking build/
to unstuck x
#125804
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Hi, I've noticed that when the beta compiler is bumped, I can't run any
x
commands because build cache contains artifacts compiled by the previous beta compiler and thusbuild_helper
(and anything that depends on it) fails to build.It's easy to fix, I just
rm -rf build/
, but maybe we can automate invalidating the build cache if the beta compiler version that is used to build the build cache doesn't match with the beta compiler version that is used in the currentx
invocation?The text was updated successfully, but these errors were encountered: