rust/src
Alex Crichton d98ab4faf8 std: Don't assume thread::current() works on panic
Inspecting the current thread's info may not always work due to the TLS value
having been destroyed (or is actively being destroyed). The code for printing
a panic message assumed, however, that it could acquire the thread's name
through this method.

Instead this commit propagates the `Option` outwards to allow the
`std::panicking` module to handle the case where the current thread isn't
present.

While it solves the immediate issue of #24313, there is still another underlying
issue of panicking destructors in thread locals will abort the process.

Closes #24313
2015-04-27 16:15:36 -07:00
..
compiler-rt@58ab642c30
compiletest Auto merge of #24537 - rprichard:fix-parallel-check, r=alexcrichton 2015-04-23 17:32:16 +00:00
doc Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
driver
etc LLVM < 3.5 is unsupported since bb18a3c 2015-04-21 07:20:48 -07:00
grammar Functional changes for associated constants. Cross-crate usage of associated constants is not yet working. 2015-04-23 21:02:26 -06:00
jemalloc@e24a1a025a
liballoc Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
libarena
libbacktrace
libcollections Rollup merge of #24868 - tshepang:fix-vec-remove-doc, r=steveklabnik 2015-04-27 10:26:20 -04:00
libcollectionstest implement rfc 1054: split_whitespace() fn, deprecate words() 2015-04-21 15:31:51 -04:00
libcore Auto merge of #24869 - steveklabnik:rollup, r=steveklabnik 2015-04-27 14:45:43 +00:00
libcoretest Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
libflate
libfmt_macros
libgetopts implement rfc 1054: split_whitespace() fn, deprecate words() 2015-04-21 15:31:51 -04:00
libgraphviz
liblibc add TCP_* consts for linux 2015-04-21 22:42:34 +08:00
liblog
librand Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
librbml std: Remove deprecated/unstable num functionality 2015-04-21 11:37:43 -07:00
librustc Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
librustc_back Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
librustc_bitflags
librustc_borrowck Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
librustc_data_structures Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
librustc_driver Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
librustc_lint Get associated consts working in match patterns. 2015-04-23 21:02:29 -06:00
librustc_llvm rollup merge of #24635: tamird/llvm-3.5 2015-04-21 15:23:10 -07:00
librustc_privacy Functional changes for associated constants. Cross-crate usage of associated constants is not yet working. 2015-04-23 21:02:26 -06:00
librustc_resolve Get associated consts working in match patterns. 2015-04-23 21:02:29 -06:00
librustc_trans Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
librustc_typeck Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
librustc_unicode implement rfc 1054: split_whitespace() fn, deprecate words() 2015-04-21 15:31:51 -04:00
librustdoc Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
libserialize rollup merge of #24636: alexcrichton/remove-deprecated 2015-04-21 15:28:53 -07:00
libstd std: Don't assume thread::current() works on panic 2015-04-27 16:15:36 -07:00
libsyntax Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
libterm Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
libtest rollup merge of #24636: alexcrichton/remove-deprecated 2015-04-21 15:28:53 -07:00
llvm@bff6907697
rt
rust-installer@e54d4823d2 Update rust-installer. Fixes problems with CDPATH 2015-04-22 14:49:01 -07:00
rustbook rustbook: Fixes display of navigation links in README.html. 2015-04-25 00:21:13 +02:00
rustllvm rollup merge of #24635: tamird/llvm-3.5 2015-04-21 15:23:10 -07:00
test std: Don't assume thread::current() works on panic 2015-04-27 16:15:36 -07:00
snapshots.txt