File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -189,15 +189,15 @@ cfg_if::cfg_if! {
189
189
} else if #[ cfg( all( windows, not( target_vendor = "uwp" ) ) ) ] {
190
190
cfg_if:: cfg_if! {
191
191
if #[ cfg( any( target_arch = "x86_64" , target_arch = "aarch64" , target_arch = "arm64ec" ) ) ] {
192
- mod dbghelp64;
193
- use dbghelp64 as dbghelp;
192
+ mod win64;
193
+ use self :: win64:: trace as trace_imp;
194
+ pub ( crate ) use self :: win64:: Frame as FrameImp ;
194
195
} else if #[ cfg( any( target_arch = "x86" , target_arch = "arm" ) ) ] {
195
196
mod dbghelp32;
196
- use dbghelp32 as dbghelp;
197
+ use self :: dbghelp32:: trace as trace_imp;
198
+ pub ( crate ) use self :: dbghelp32:: Frame as FrameImp ;
197
199
}
198
200
}
199
- use self :: dbghelp:: trace as trace_imp;
200
- pub ( crate ) use self :: dbghelp:: Frame as FrameImp ;
201
201
} else {
202
202
mod noop;
203
203
use self :: noop:: trace as trace_imp;
Original file line number Diff line number Diff line change @@ -77,11 +77,6 @@ impl MyContext {
77
77
}
78
78
}
79
79
80
- #[ cfg( any(
81
- target_arch = "x86_64" ,
82
- target_arch = "aarch64" ,
83
- target_arch = "arm64ec"
84
- ) ) ]
85
80
#[ inline( always) ]
86
81
pub unsafe fn trace ( cb : & mut dyn FnMut ( & super :: Frame ) -> bool ) {
87
82
use core:: ptr;
You can’t perform that action at this time.
0 commit comments