Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
panic="abort"
from dev
builds
The `backtrace` crate isn't compatible with `panic="abort"` (see [docs](https://docs.rs/backtrace/latest/backtrace/) and [issue](rust-lang/backtrace-rs#397)). One great feature we have in egui is pressing down all modifier keys on your keyboard and seeing the backtrace to the widget you hover. This is awesome for when you want to change the code for some specific part of the UI. But it didn't work, at least not always. This PR fixes it. We still use `panic="abort"` in release builds, for the benefit of smaller binaries. * See also emilk/egui#4696
- Loading branch information