rust/src
Eduard-Mihai Burtescu e31d46402d Rollup merge of #39888 - nagisa:on-fail-bootstrap, r=alexcrichton
[rustbuild] add a way to run command after failure

This is a simple way to workaround the debugging issues caused by the rustc
wrapper used in the bootstrap process. Namely, it uses some obscure environment
variables and you can't just copy the failed command and run it in the shell or
debugger to examine the failure more closely.

With `--on-fail` its possible to run an arbitrary command within exactly the
same environment under which rustc failed. Theres's multiple ways to use this
new flag:

$ python x.py build --stage=1 --on-fail=env

    would print a list of environment variables and the failed command, so a
    few copy-pastes and you now can run the same rust in your shell outside the
    bootstrap system.

$ python x.py build --stage=1 --on-fail=bash

    Is a more useful variation of the command above in that it launches a whole
    shell with environment already in place! All that's left to do is copy-paste
    the command just above the shell prompt!

Fixes #38686
Fixes #38221
2017-02-25 14:13:17 +02:00
..
bootstrap Rollup merge of #39888 - nagisa:on-fail-bootstrap, r=alexcrichton 2017-02-25 14:13:17 +02:00
build_helper Build libbacktrace/jemalloc only when their timestamps are older than sources 2017-02-02 22:40:42 +03:00
ci Update sccache binaries on CI 2017-02-24 13:16:54 -08:00
compiler-rt@d30da544a8 sanitizer support 2017-02-08 18:51:43 -05:00
doc Rollup merge of #40071 - tomwhoiscontrary:pr-lets-apostrophes, r=GuillaumeGomez 2017-02-24 13:23:01 +01:00
driver
etc Vec, LinkedList, VecDeque, String, and Option NatVis visualizations 2017-02-15 01:51:19 -08:00
grammar Fix typo 2017-02-15 15:13:31 +03:00
jemalloc@11bfb0dcf8 Update jemalloc to include various fixes for OSX 10.12 2017-01-19 09:01:52 +09:00
liballoc Revert "Fix up links" 2017-02-20 09:09:12 -05:00
liballoc_jemalloc test: Verify all sysroot crates are unstable 2017-02-21 11:38:17 -08:00
liballoc_system Auto merge of #38679 - alexcrichton:always-deny-warnings, r=nrc 2017-01-08 08:22:06 +00:00
libarena Rollup merge of #38664 - apasel422:may-dangle, r=pnkfelix 2017-01-10 20:27:41 +09:00
libbacktrace libbacktrace: Fix uninitialized variable 2017-02-04 01:18:10 +03:00
libcollections Rollup merge of #40048 - jimblandy:fmt-arg-types-doc, r=alexcrichton 2017-02-24 13:22:58 +01:00
libcollectionstest Dont segfault if btree range is not in order 2017-02-10 00:16:04 -06:00
libcompiler_builtins Rollup merge of #39519 - nagisa:more-snap, r=alexcrichton 2017-02-05 12:45:11 -05:00
libcore Rollup merge of #39886 - mbrubeck:doc-edit, r=steveklabnik 2017-02-24 13:22:54 +01:00
libcoretest Improve fmt float 2017-02-07 20:58:34 +11:00
libflate std: Remove cfg(cargobuild) annotations 2017-02-06 08:42:54 -08:00
libfmt_macros
libgetopts
libgraphviz
liblibc@7a3754f2bb Update src/liblibc 2017-02-16 13:04:14 -08:00
liblog
libpanic_abort Auto merge of #38679 - alexcrichton:always-deny-warnings, r=nrc 2017-01-08 08:22:06 +00:00
libpanic_unwind std: Remove cfg(cargobuild) annotations 2017-02-06 08:42:54 -08:00
libproc_macro Refactor TokenStream. 2017-01-22 21:37:38 +00:00
libproc_macro_plugin Remove open_span and close_span from Delimited. 2017-01-23 06:49:06 +00:00
librand Remove specialization from Debug implementations 2017-01-20 13:10:36 +01:00
librustc Rollup merge of #39864 - cramertj:normalize-breaks, r=nikomatsakis 2017-02-25 14:13:16 +02:00
librustc_asan use helper function in the rebuild logic of the rustc_*san crates 2017-02-08 18:51:43 -05:00
librustc_back Rollup merge of #39426 - jakllsch:netbsd-c, r=alexcrichton 2017-02-07 22:54:24 -05:00
librustc_bitflags
librustc_borrowck [MIR] Make InlineAsm a Statement 2017-02-15 21:21:36 +02:00
librustc_const_eval Use global recursion limit when evaluating inhabitedness 2017-02-10 00:52:51 +08:00
librustc_const_math SwitchInt over Switch 2017-02-10 19:42:41 +02:00
librustc_data_structures Auto merge of #39456 - nagisa:mir-switchint-everywhere, r=nikomatsakis 2017-02-13 02:32:09 +00:00
librustc_driver Auto merge of #39752 - keeperofdakeys:macro-error, r=keeperofdakeys 2017-02-17 04:02:18 +00:00
librustc_errors store typeck lints in the TypeckTables 2017-02-02 20:38:16 -05:00
librustc_incremental Rollup merge of #39864 - cramertj:normalize-breaks, r=nikomatsakis 2017-02-25 14:13:16 +02:00
librustc_lint Use check_variant for non_camel_case_types lint 2017-02-14 19:46:48 +09:00
librustc_llvm Auto merge of #39456 - nagisa:mir-switchint-everywhere, r=nikomatsakis 2017-02-13 02:32:09 +00:00
librustc_lsan use helper function in the rebuild logic of the rustc_*san crates 2017-02-08 18:51:43 -05:00
librustc_metadata Auto merge of #39456 - nagisa:mir-switchint-everywhere, r=nikomatsakis 2017-02-13 02:32:09 +00:00
librustc_mir Rollup merge of #39864 - cramertj:normalize-breaks, r=nikomatsakis 2017-02-25 14:13:16 +02:00
librustc_msan use helper function in the rebuild logic of the rustc_*san crates 2017-02-08 18:51:43 -05:00
librustc_passes Rollup merge of #39864 - cramertj:normalize-breaks, r=nikomatsakis 2017-02-25 14:13:16 +02:00
librustc_platform_intrinsics Auto merge of #38561 - nagisa:rdrandseed, r=alexcrichton 2017-02-14 01:26:10 +00:00
librustc_plugin Remove unused extern crates. 2017-01-22 01:31:02 +00:00
librustc_privacy Remove no longer necessary ctor checks in rustc_privacy 2017-01-29 02:57:14 +03:00
librustc_resolve Rollup merge of #39864 - cramertj:normalize-breaks, r=nikomatsakis 2017-02-25 14:13:16 +02:00
librustc_save_analysis save-analysis: emit info about impls and super-traits in JSON 2017-02-13 17:50:58 +13:00
librustc_trans Auto merge of #39714 - vadimcn:top-level-expn2, r=michaelwoerister 2017-02-24 07:30:11 +00:00
librustc_tsan use helper function in the rebuild logic of the rustc_*san crates 2017-02-08 18:51:43 -05:00
librustc_typeck Rollup merge of #39864 - cramertj:normalize-breaks, r=nikomatsakis 2017-02-25 14:13:16 +02:00
librustdoc Set rustdoc --test files' path relative to the current directory 2017-02-16 22:35:29 +01:00
libserialize Only SwitchInt over integers, not all consts 2017-02-10 19:42:41 +02:00
libstd Rollup merge of #40052 - GuillaumeGomez:sunc_docs, r=frewsxcv 2017-02-24 13:23:00 +01:00
libstd_unicode Fix a few impl stability attributes 2017-01-29 13:31:47 +00:00
libsyntax Create "The Unstable Book" 2017-02-21 21:12:52 -05:00
libsyntax_ext Allow using inert attributes from proc_macro_derives with #![feature(proc_macro)]. 2017-02-12 07:20:04 +00:00
libsyntax_pos store typeck lints in the TypeckTables 2017-02-02 20:38:16 -05:00
libterm Auto merge of #38679 - alexcrichton:always-deny-warnings, r=nrc 2017-01-08 08:22:06 +00:00
libtest make more types public 2017-02-14 16:02:53 +01:00
libunwind Add Solaris as recognized ostype 2017-02-11 20:28:44 -08:00
llvm@ceb177eeef Remove accidental submodule change. 2017-01-06 23:13:32 -05:00
rt Set correct hoedown submodule branch 2017-02-03 11:08:20 +01:00
rtstartup
rust-installer@4f99485080
rustc test: Verify all sysroot crates are unstable 2017-02-21 11:38:17 -08:00
rustllvm rustc: Link statically to the MSVCRT 2017-02-15 19:36:29 -08:00
test Rollup merge of #39864 - cramertj:normalize-breaks, r=nikomatsakis 2017-02-25 14:13:16 +02:00
tools Rollup merge of #39859 - GuillaumeGomez:rustdoc-test-relative-path, r=alexcrichton 2017-02-25 14:13:15 +02:00
Cargo.lock Auto merge of #39851 - alexcrichton:verify-unstable, r=brson 2017-02-24 02:40:16 +00:00
Cargo.toml test: Verify all sysroot crates are unstable 2017-02-21 11:38:17 -08:00
stage0.txt Bump version, upgrade bootstrap 2017-02-03 13:25:46 -08:00