We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c543aaa commit 8826748Copy full SHA for 8826748
gc/mmtk/src/lib.rs
@@ -5,7 +5,6 @@ extern crate log;
5
extern crate probe;
6
7
use std::collections::HashSet;
8
-use std::panic::PanicHookInfo;
9
use std::sync::Mutex;
10
use std::thread::ThreadId;
11
@@ -92,7 +91,7 @@ pub(crate) fn is_gc_thread(thread_id: ThreadId) -> bool {
92
91
gc_threads.contains(&thread_id)
93
}
94
95
-fn handle_gc_thread_panic(panic_info: &PanicHookInfo) {
+fn handle_gc_thread_panic(panic_info: &std::panic::PanicInfo) {
96
eprintln!("ERROR: An MMTk GC thread panicked. This is a bug.");
97
eprintln!("{panic_info}");
98
0 commit comments