File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,11 @@ impl fmt::Debug for Frame {
121
121
}
122
122
123
123
cfg_if:: cfg_if! {
124
- if #[ cfg(
124
+ if #[ cfg( miri) ] {
125
+ mod noop;
126
+ use self :: noop:: trace as trace_imp;
127
+ pub ( crate ) use self :: noop:: Frame as FrameImp ;
128
+ } else if #[ cfg(
125
129
any(
126
130
all(
127
131
unix,
Original file line number Diff line number Diff line change @@ -456,7 +456,13 @@ pub fn clear_symbol_cache() {
456
456
}
457
457
458
458
cfg_if:: cfg_if! {
459
- if #[ cfg( all( windows, target_env = "msvc" , not( target_vendor = "uwp" ) ) ) ] {
459
+ if #[ cfg( miri) ] {
460
+ mod noop;
461
+ use self :: noop:: resolve as resolve_imp;
462
+ use self :: noop:: Symbol as SymbolImp ;
463
+ #[ allow( unused) ]
464
+ unsafe fn clear_symbol_cache_imp( ) { }
465
+ } else if #[ cfg( all( windows, target_env = "msvc" , not( target_vendor = "uwp" ) ) ) ] {
460
466
mod dbghelp;
461
467
use self :: dbghelp:: resolve as resolve_imp;
462
468
use self :: dbghelp:: Symbol as SymbolImp ;
You can’t perform that action at this time.
0 commit comments