We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b808cbe commit 4c407f3Copy full SHA for 4c407f3
tests/skip_inner_frames.rs
@@ -39,7 +39,7 @@ fn backtrace_new_should_start_with_call_site_trace() {
39
40
assert!(!b.frames().is_empty());
41
42
- let this_ip = backtrace_new_should_start_with_call_site_trace as usize;
43
- let frame_ip = b.frames().first().unwrap().symbol_address() as usize;
+ let this_ip = backtrace_new_should_start_with_call_site_trace as *mut c_void;
+ let frame_ip = b.frames().first().unwrap().symbol_address();
44
assert_eq!(this_ip, frame_ip);
45
}
0 commit comments