about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-07-03 11:31:13 +0200
committerGitHub <noreply@github.com>2018-07-03 11:31:13 +0200
commit492518fcd5a3a0ce145a0b675d480d6c212d4b03 (patch)
tree0c3486b8c020617213e6bba69fd6f901b404b516 /src/libstd/sys/unix/stack_overflow.rs
parent6af4397e191d99367aa12b87dc87bf2e565d87a0 (diff)
parent9eda4aabff138add785c6e672d9c67cc612f7503 (diff)
downloadrust-492518fcd5a3a0ce145a0b675d480d6c212d4b03.tar.gz
rust-492518fcd5a3a0ce145a0b675d480d6c212d4b03.zip
Rollup merge of #52006 - Mark-Simulacrum:keep-stage-fix, r=alexcrichton
 Change --keep-stage to apply more often

Previously, the --keep-stage argument would only function for compilers
that were depended on by future stages. For example, if trying to build
a stage 1 compiler you could --keep-stage 0 to avoid re-building the
stage 0 compiler. However, this is often not what users want in
practice.

The new implementation essentially skips builds all higher stages of the
compiler, so an argument of 1 to keep-stage will skip rebuilds of the
libraries, just linking them into the sysroot. This is unlikely to work
well in cases where metadata or similar changes have been made, but is
likely fine otherwise.

This change is somewhat untested, but since it shouldn't have any effect
except with --keep-stage, I don't see that as a large problem.

r? @alexcrichton
cc @nikomatsakis - I believe you wanted this functionality
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions