Extend filtering of backtrace frames a bit (#21573)

Cole Miller created

Both rust_begin_unwind and _rust_begin_unwind appear in practice, not sure why.

Release Notes:

- N/A

Change summary

crates/zed/src/reliability.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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);
         }