rust/src/rustc
Alex Crichton 8cd1c17d90 rustbuild: Refactor stage arguments away
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.
2016-03-14 14:56:49 -07:00
..
libc_shim Add a Cargo-based build system 2016-02-11 10:42:28 -08:00
std_shim rustbuild: Sync changes to Cargo.lock 2016-02-28 10:50:13 -08:00
Cargo.lock rustbuild: Refactor stage arguments away 2016-03-14 14:56:49 -07:00
Cargo.toml rustbuild: Fix stage1 rustdoc 2016-03-08 13:44:14 -08:00
rustc.rs Add a Cargo-based build system 2016-02-11 10:42:28 -08:00
rustdoc.rs Add a Cargo-based build system 2016-02-11 10:42:28 -08:00