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! {
189189 } else if #[ cfg( all( windows, not( target_vendor = "uwp" ) ) ) ] {
190190 cfg_if:: cfg_if! {
191191 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 ;
194195 } else if #[ cfg( any( target_arch = "x86" , target_arch = "arm" ) ) ] {
195196 mod dbghelp32;
196- use dbghelp32 as dbghelp;
197+ use self :: dbghelp32:: trace as trace_imp;
198+ pub ( crate ) use self :: dbghelp32:: Frame as FrameImp ;
197199 }
198200 }
199- use self :: dbghelp:: trace as trace_imp;
200- pub ( crate ) use self :: dbghelp:: Frame as FrameImp ;
201201 } else {
202202 mod noop;
203203 use self :: noop:: trace as trace_imp;
Original file line number Diff line number Diff line change @@ -77,11 +77,6 @@ impl MyContext {
7777 }
7878}
7979
80- #[ cfg( any(
81- target_arch = "x86_64" ,
82- target_arch = "aarch64" ,
83- target_arch = "arm64ec"
84- ) ) ]
8580#[ inline( always) ]
8681pub unsafe fn trace ( cb : & mut dyn FnMut ( & super :: Frame ) -> bool ) {
8782 use core:: ptr;
You can’t perform that action at this time.
0 commit comments