summary refs log tree commit diff
path: root/src/libstd/panicking.rs
AgeCommit message (Collapse)AuthorLines
2015-06-20Fix logic in panic printing with no stderrSteven Fackler-11/+12
If a local stderr is present but the normal stderr is missing, we still want to print.
2015-06-17std: Split the `std_misc` featureAlex Crichton-2/+0
2015-06-14Implement RFC 1014Steven Fackler-1/+4
Closes #25977 The various `stdfoo_raw` methods in std::io now return `io::Result`s, since they may not exist on Windows. They will always return `Ok` on Unix-like platforms. [breaking-change]
2015-04-27std: Don't assume thread::current() works on panicAlex Crichton-3/+3
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-21Remove references to `old_{path,io}`Tamir Duberstein-1/+0
2015-04-11Change the rt::unwind line argument type from usize to u32.Ryan Prichard-1/+1
2015-03-13Fallout of std::old_io deprecationAlex Crichton-12/+5
2015-02-18Replace all uses of `&foo[]` with `&foo[..]` en masse.Niko Matsakis-1/+1
2015-02-17Fallout from stabilizationAaron Turon-2/+2
2015-02-13Rename std::failure to std::panickingKevin Yap-0/+76
Closes #22306.