Where is panic being set to abort?

⚓ Rust    📅 2025-11-24    👤 surdeus    👁️ 9      

surdeus

Trying to fix a bug in a large project (a TUI library) that I am new to. When it panics (due to my coding errors) I get nothing other than an exit code 101. This tells me (I think) that the panic strategy is 'abort' or somebody installed a panic hook that does nothing

What should I do to try to track down where this is being done, the library uses crossterm and I wondered if it was installing something to catch a panic and clean up, but I cant find it.

I also dont see any cargo.toml panic = "abort" lines

2 posts - 2 participants

Read full topic

🏷️ Rust_feed