upstream stdx changes

This commit is contained in:
BenjaminBrienen 2025-04-04 18:37:21 +02:00
parent 2261e4e892
commit 428ee50540
11 changed files with 131 additions and 97 deletions

View file

@ -16,7 +16,7 @@ impl Drop for PanicContext {
}
pub fn enter(frame: String) -> PanicContext {
#[allow(clippy::print_stderr)]
#[expect(clippy::print_stderr, reason = "already panicking anyway")]
fn set_hook() {
let default_hook = panic::take_hook();
panic::set_hook(Box::new(move |panic_info| {