Some configurations build the compiler too many times #138123
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
In investigating #138039, here are some observations:
I am running this command as an illustration:
After #138039
No config:
Not really clear why it is doing
stage1 -> stage2, x86_64-unknown-linux-gnu
, that should not be needed.With the config:
Yay, it seems to be doing the right thing:
With the config:
Boo, it seems to build the host compiler twice when it shouldn't:
Before #137215
The "no config" behavior is the same, but the other configs seem to work correctly (only two compilers built).
Docs
I only vaguely recall building the docs requires linking to the compiler.... I don't have time at the moment to refresh my memory. I don't know if it is absolutely required to have a stage2 compiler for that. It might be good to see if there are alternate solutions.
The text was updated successfully, but these errors were encountered: