diff --git a/crates/zed/src/reliability.rs b/crates/zed/src/reliability.rs index 681cc9834f91b2985e9d7fb9d50bc29b4a456636..837db9df6009ddccb88805ff401d2156bd84ef8c 100644 --- a/crates/zed/src/reliability.rs +++ b/crates/zed/src/reliability.rs @@ -85,7 +85,7 @@ pub fn init_panic_hook( // Strip out leading stack frames for rust panic-handling. if let Some(ix) = backtrace .iter() - .position(|name| name == "rust_begin_unwind") + .position(|name| name == "rust_begin_unwind" || name == "_rust_begin_unwind") { backtrace.drain(0..=ix); }