mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
8cd1c17d90
The facet of a stage is rarely relevant when running a tool or building something, it's all a question of what stage the *compiler* is built in. We've already got a nice handy `Compiler` structure to carry this information, so let's use it! This refactors the signature of the `Build::cargo` function two ways: 1. The `stage` argument is removed, this was just duplicated with the `compiler` argument's stage field. 2. The `target` argument is now required. This was a bug where if the `--target` flag isn't passed then the snapshot stage0 compiler is always used, so we won't pick up any changes. Much of the other changes in this commit are just propagating these decisions outwards. For example many of the `Step` variants no longer have a stage argument as they're baked into the compiler. |
||
---|---|---|
.. | ||
libc_shim | ||
std_shim | ||
Cargo.lock | ||
Cargo.toml | ||
rustc.rs | ||
rustdoc.rs |