ext/pf2/src/backtrace.rs in pf2-0.3.0 vs ext/pf2/src/backtrace.rs in pf2-0.4.0
- old
+ new
@@ -40,9 +40,10 @@
&mut on_ok as *mut _ as *mut c_void,
);
}
}
+ #[allow(dead_code)] // TODO: Remove this
pub fn backtrace_pcinfo<F>(
state: &BacktraceState,
pc: usize,
mut on_ok: F,
on_error: backtrace_sys2::backtrace_error_callback,