| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-05-24 | rename internal panicking::try to catch_unwind | Ralf Jung | -1/+1 | |
| 2025-04-27 | use generic Atomic type where possible | Christopher Durham | -2/+2 | |
| in core/alloc/std only for now, and ignoring test files Co-authored-by: Pavel Grigorenko <GrigorenkoPV@ya.ru> | ||||
| 2025-02-18 | add last std diagnostic items for clippy | cyrgani | -0/+1 | |
| 2025-02-13 | std: Apply dependency_on_unit_never_type_fallback | Eric Huss | -1/+3 | |
| This generates a warning of irrefutable patterns. I decided to slightly tweak the example so the closure returns unit, since the intent wasn't to show the weird behavior of returning `!`. | ||||
| 2025-01-26 | Move std::panic unit tests to integration tests | bjorn3 | -3/+0 | |
| 2024-09-29 | Auto merge of #128321 - BatmanAoD:catch-unwind-doc-update, r=Mark-Simulacrum | bors | -24/+34 | |
| Update `catch_unwind` doc comments for `c_unwind` Updates `catch_unwind` doc comments to indicate that catching a foreign exception _will no longer_ be UB. Instead, there are two possible behaviors, though it is not specified which one an implementation will choose. Nominated for t-lang to confirm that they are okay with making such a promise based on t-opsem FCP, or whether they would like to be included in the FCP. Related: https://github.com/rust-lang/rust/issues/74990, https://github.com/rust-lang/rust/issues/115285, https://github.com/rust-lang/reference/pull/1226 | ||||
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -2/+2 | |
| 2024-09-15 | update docs for `catch_unwind` & related funcs | Kyle J Strand | -24/+34 | |
| Documentation comments for `catch_unwind` and `thread::join` to indicate new behavioral guarantee when catching a foreign exception. | ||||
| 2024-09-14 | add std::panic::abort_unwind | Christopher Durham | -0/+3 | |
| 2024-08-12 | std: do not overwrite style in `get_backtrace_style` | joboet | -11/+15 | |
| If another thread calls `set_backtrace_style` while a `get_backtrace_style` is reading the environment variables, `get_backtrace_style` will overwrite the value. Use an atomic CAS to avoid this. | ||||
| 2024-08-03 | chore: refactor backtrace style in panic | Konippi | -19/+10 | |
| 2024-07-30 | Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68 | bors | -1/+1 | |
| Bump bootstrap compiler to new beta https://forge.rust-lang.org/release/process.html#master-bootstrap-update-t-2-day-tuesday | ||||
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -10/+5 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-07-28 | Update CURRENT_RUSTC_VERSION | Mark Rousskov | -1/+1 | |
| 2024-07-26 | Fix doc nits | John Arundel | -3/+3 | |
| Many tiny changes to stdlib doc comments to make them consistent (for example "Returns foo", rather than "Return foo", per RFC1574), adding missing periods, paragraph breaks, backticks for monospace style, and other minor nits. https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md#appendix-a-full-conventions-text | ||||
| 2024-06-12 | Use payload_as_str instead of two downcasts. | Mara Bos | -4/+1 | |
| 2024-06-11 | Bump deprecation of std's PanicInfo alias to 1.82.0. | Mara Bos | -1/+1 | |
| 2024-06-11 | Add PanicHookInfo::payload_as_str(). | Mara Bos | -0/+39 | |
| 2024-06-11 | Add note on panic payload type. | Mara Bos | -0/+7 | |
| 2024-06-11 | Downcast panic payload to String too in example. | Mara Bos | -0/+2 | |
| 2024-06-11 | Move deprecation of std::panic::PanicInfo to 1.80.0. | Mara Bos | -1/+1 | |
| 2024-06-11 | Rename std::panic::PanicInfo to PanicHookInfo. | Mara Bos | -13/+18 | |
| 2024-06-11 | Mark some PanicInfo methods as #[inline] for consistency. | Mara Bos | -0/+3 | |
| 2024-06-11 | Remove std::panic::PanicInfo::internal_constructor+set_payload. | Mara Bos | -12/+3 | |
| We can just set the payload immediately in the constructor, and the constructor does not need to be public. | ||||
| 2024-06-11 | Fix doc link. | Mara Bos | -3/+2 | |
| 2024-06-11 | Document difference between core and std's PanicInfo. | Mara Bos | -2/+9 | |
| 2024-06-11 | Split core's PanicInfo and std's PanicInfo. | Mara Bos | -1/+152 | |
| 2024-03-31 | catch_panic: warn about panicking payload drop | Ralf Jung | -0/+3 | |
| 2024-02-28 | Implement unwind safety for Condvar | Jonathan Johnson | -1/+5 | |
| Closes #118009 This commit adds unwind safety to Condvar. Previously, only select platforms implemented unwind safety through auto traits. Known by this committer: Linux was unwind safe, but Mac and Windows are not before this change. | ||||
| 2024-01-31 | Store SHOULD_CAPTURE as AtomicU8 | GnomedDev | -6/+6 | |
| 2023-12-09 | merge core_panic feature into panic_internals | Ralf Jung | -1/+1 | |
| 2023-05-15 | Shorten lifetime of even more panic temporaries | David Tolnay | -2/+2 | |
| 2023-05-14 | Shorten lifetime of panic temporaries in panic_fmt case | David Tolnay | -1/+3 | |
| 2023-03-17 | review | Gus Caplan | -1/+1 | |
| 2023-03-17 | move default backtrace setting to sys | Gus Caplan | -2/+1 | |
| 2022-12-28 | Clarify catch_unwind docs about panic hooks | Albert Larsan | -0/+3 | |
| Makes it clear from catch_unwind docs that the panic hook will be called before the panic is caught. | ||||
| 2022-09-14 | Adding backtrace off option for fuchsia targets | Andrew Pollack | -17/+16 | |
| 2022-07-08 | Support unstable moves via stable in unstable items | Jane Lusby | -1/+1 | |
| 2022-02-02 | Configure panic hook backtrace behavior | Mark Rousskov | -0/+114 | |
| 2022-01-07 | Implement panic::update_hook | Badel2 | -0/+3 | |
| 2021-10-19 | Deduplicate panic_fmt | Gary Guo | -1/+1 | |
| std's begin_panic_fmt and core's panic_fmt are duplicates. Merge them to declutter code and remove a lang item. | ||||
| 2021-09-15 | Allow `panic!("{}", computed_str)` in const fn. | Gary Guo | -1/+5 | |
| 2021-07-30 | Move UnwindSafe, RefUnwindSafe, AssertUnwindSafe to core | David Tolnay | -309/+4 | |
| 2021-07-30 | Auto merge of #87445 - amalik18:issue-83584-fix, r=kennytm | bors | -2/+2 | |
| Fix may not to appropriate might not or must not I went through and changed occurrences of `may not` to be more explicit with `might not` and `must not`. | ||||
| 2021-07-29 | Fix may not to appropriate might not or must not | Ali Malik | -2/+2 | |
| 2021-07-28 | Add new const_format_args!() macro and use it in panics. | Mara Bos | -2/+2 | |
| 2021-06-29 | Use diagnostic items to check for Send, UnwindSafe and RefUnwindSafe traits | Roxane Fruytier | -2/+2 | |
| 2021-06-29 | Remove lang items Send, UnwindSafe and RefUnwindSafe | Roxane Fruytier | -2/+2 | |
| 2021-06-28 | Update to new bootstrap compiler | Mark Rousskov | -2/+2 | |
| 2021-05-27 | Add #[track_caller] to panic_any | Alex Veber | -0/+1 | |
