We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e61fc25 commit 537b0f8Copy full SHA for 537b0f8
desktop/src/main.rs
@@ -29,7 +29,7 @@ use ruffle_core::StaticCallstack;
29
use std::cell::RefCell;
30
use std::env;
31
use std::fs::File;
32
-use std::panic::PanicInfo;
+use std::panic::PanicHookInfo;
33
use tracing_subscriber::fmt::Layer;
34
use tracing_subscriber::layer::SubscriberExt;
35
use tracing_subscriber::util::SubscriberInitExt;
@@ -74,7 +74,7 @@ fn init() {
74
}));
75
}
76
77
-fn panic_hook(info: &PanicInfo) {
+fn panic_hook(info: &PanicHookInfo) {
78
CALLSTACK.with(|callstack| {
79
if let Some(callstack) = &*callstack.borrow() {
80
callstack.avm2(|callstack| println!("AVM2 stack trace: {callstack}"))
0 commit comments