Skip to content

Commit

Permalink
Merge from rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
The Miri Cronjob Bot committed Jul 24, 2024
2 parents 29cb173 + fff570a commit f05c969
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/stdx/src/panic_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ impl PanicContext {
#[allow(clippy::print_stderr)]
fn init() {
let default_hook = panic::take_hook();
#[allow(deprecated)]
let hook = move |panic_info: &panic::PanicInfo<'_>| {
with_ctx(|ctx| {
if !ctx.is_empty() {
Expand Down

0 comments on commit f05c969

Please sign in to comment.