| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-29 | document stable counterparts of intrinsics | Bastian Kauschke | -0/+2 | |
| 2020-04-24 | Improve PanicInfo examples readability | Guillaume Gomez | -3/+9 | |
| 2019-12-22 | Format the world | Mark Rousskov | -17/+21 | |
| 2019-12-21 | Require issue = "none" over issue = "0" in unstable attributes | Ross MacArthur | -4/+4 | |
| 2019-12-18 | Propagate cfg bootstrap | Mark Rousskov | -1/+0 | |
| 2019-12-16 | Rollup merge of #66771 - SimonSapin:panic-stability, r=KodrAus | Mazdak Farrokhzad | -8/+10 | |
| Stabilize the `core::panic` module `std::panic` is already stable. `core::panic::PanicInfo` and `core::panic::Location` are stable and can be used through that path because of a bug in stability checking: #15702 | ||||
| 2019-12-05 | Implement core::panic::Location::caller using #[track_caller]. | Adam Perry | -0/+54 | |
| 2019-11-26 | Stabilize the `core::panic` module | Simon Sapin | -3/+1 | |
| `std::panic` is already stable. `core::panic::PanicInfo` and `core::panic::Location` are stable and can be used through that path because of a bug in stability checking: https://github.com/rust-lang/rust/issues/15702 | ||||
| 2019-11-26 | Fix the tracking issue number for `PanicInfo::message` | Simon Sapin | -1/+1 | |
| #44489 was closed when the `#[panic_handler]` attribute was stabilized. | ||||
| 2019-11-26 | abort on BoxMeUp misuse | Ralf Jung | -0/+8 | |
| 2019-11-26 | Fix unstable attribute accidentally applying to the entire impl | Simon Sapin | -4/+8 | |
| Note `#![unstable]` v.s. `#[unstable]` | ||||
| 2019-11-25 | better comment and rename BoxMeUp::box_me_up to take_box | Ralf Jung | -1/+3 | |
| 2019-11-12 | Snap cfgs | Mark Rousskov | -1/+1 | |
| 2019-10-27 | Panicking infra uses &core::panic::Location. | Adam Perry | -6/+11 | |
| This allows us to remove `static_panic_msg` from the SSA<->LLVM boundary, along with its fat pointer representation for &str. Also changes the signature of PanicInfo::internal_contructor to avoid copying. Closes #65856. | ||||
| 2019-10-27 | Implement core::intrinsics::caller_location. | Adam Perry | -0/+1 | |
| Returns a `&core::panic::Location` corresponding to where it was called, also making `Location` a lang item. | ||||
| 2019-04-19 | libcore: deny more... | Mazdak Farrokhzad | -4/+4 | |
| 2019-04-18 | libcore => 2018 | Taiki Endo | -2/+2 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-09-29 | Use impl_header_lifetime_elision in libcore | Scott McMurray | -2/+2 | |
| 2018-07-25 | Enforce #![deny(bare_trait_objects)] in src/libcore | ljedrz | -5/+5 | |
| 2018-07-10 | Avoid unwrapping in PanicInfo doc example. | Corey Farwell | -1/+5 | |
| Fixes https://github.com/rust-lang/rust/issues/51768. | ||||
| 2018-06-30 | Bootstrap from 1.28.0-beta.3 | Mark Simulacrum | -1/+1 | |
| 2018-06-03 | implement #[panic_implementation] | Jorge Aparicio | -2/+4 | |
| 2018-04-13 | std: Avoid allocating panic message unless needed | Alex Crichton | -4/+10 | |
| This commit removes allocation of the panic message in instances like `panic!("foo: {}", "bar")` if we don't actually end up needing the message. We don't need it in the case of wasm32 right now, and in general it's not needed for panic=abort instances that use the default panic hook. For now this commit only solves the wasm use case where with LTO the allocation is entirely removed, but the panic=abort use case can be implemented at a later date if needed. | ||||
| 2018-04-13 | std: Minimize size of panicking on wasm | Alex Crichton | -0/+10 | |
| This commit applies a few code size optimizations for the wasm target to the standard library, namely around panics. We notably know that in most configurations it's impossible for us to print anything in wasm32-unknown-unknown so we can skip larger portions of panicking that are otherwise simply informative. This allows us to get quite a nice size reduction. Finally we can also tweak where the allocation happens for the `Box<Any>` that we panic with. By only allocating once unwinding starts we can reduce the size of a panicking wasm module from 44k to 350 bytes. | ||||
| 2018-04-05 | Correct a few stability attributes | Oliver Middleton | -0/+2 | |
| 2018-01-24 | Add missing micro version number component in stability attributes. | Simon Sapin | -1/+1 | |
| 2018-01-23 | Make PanicInfo::message available for std::panic! with a formatting string. | Simon Sapin | -2/+2 | |
| This enables PanicInfo’s Display impl to show the panic message in those cases. | ||||
| 2018-01-23 | Implement Display for PanicInfo and Location | Simon Sapin | -0/+23 | |
| Due to being in libcore, this impl cannot access PanicInfo::payload if it’s a String. | ||||
| 2018-01-23 | Add an unstable PanicInfo::message(&self) -> Option<&fmt::Arguments> method | Simon Sapin | -2/+17 | |
| 2018-01-23 | Move PanicInfo and Location to libcore | Simon Sapin | -0/+213 | |
| Per https://rust-lang.github.io/rfcs/2070-panic-implementation.html | ||||
