Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Extend filtering of backtrace frames a bit (#21573)
Cole Miller92dea066dd88
diff --git a/crates/zed/src/reliability.rs b/crates/zed/src/reliability.rsindex 681cc9834f9..837db9df600 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);}