]> git.lizzy.rs Git - rust.git/commit
rustbuild: Add cli option --keep-stage
authorUlrik Sverdrup <bluss@users.noreply.github.com>
Mon, 12 Dec 2016 22:21:42 +0000 (23:21 +0100)
committerUlrik Sverdrup <bluss@users.noreply.github.com>
Mon, 12 Dec 2016 23:05:12 +0000 (00:05 +0100)
commit4e696edc71fe72724f706af2cf827825d3a90c56
tree630a8b8573e5aa5a1e3db8b0181c65ac06c4683f
parentfd5dc057936f5d84ccd8c1d5965f60e669b589d8
rustbuild: Add cli option --keep-stage

This option is intended to be used like:

./x.py build --stage 1 --keep-stage 0

Which skips all stage 0 steps, so that stage 1 can be recompiled
directly (even if for example libcore has changes).

This is useful when working on `cfg(not(stage0))` parts of the
libraries, or when re-running stage 1 tests in libraries in general.
src/bootstrap/flags.rs
src/bootstrap/step.rs