@@ -461,15 +461,6 @@ cfg_if::cfg_if! {
461
461
use self :: dbghelp:: resolve as resolve_imp;
462
462
use self :: dbghelp:: Symbol as SymbolImp ;
463
463
unsafe fn clear_symbol_cache_imp( ) { }
464
- } else if #[ cfg( all(
465
- feature = "gimli-symbolize" ,
466
- any( unix, windows) ,
467
- not( target_os = "emscripten" ) ,
468
- ) ) ] {
469
- mod gimli;
470
- use self :: gimli:: resolve as resolve_imp;
471
- use self :: gimli:: Symbol as SymbolImp ;
472
- use self :: gimli:: clear_symbol_cache as clear_symbol_cache_imp;
473
464
} else if #[ cfg( all(
474
465
feature = "libbacktrace" ,
475
466
any( unix, all( windows, not( target_vendor = "uwp" ) , target_env = "gnu" ) ) ,
@@ -481,6 +472,15 @@ cfg_if::cfg_if! {
481
472
use self :: libbacktrace:: resolve as resolve_imp;
482
473
use self :: libbacktrace:: Symbol as SymbolImp ;
483
474
unsafe fn clear_symbol_cache_imp( ) { }
475
+ } else if #[ cfg( all(
476
+ feature = "gimli-symbolize" ,
477
+ any( unix, windows) ,
478
+ not( target_os = "emscripten" ) ,
479
+ ) ) ] {
480
+ mod gimli;
481
+ use self :: gimli:: resolve as resolve_imp;
482
+ use self :: gimli:: Symbol as SymbolImp ;
483
+ use self :: gimli:: clear_symbol_cache as clear_symbol_cache_imp;
484
484
} else {
485
485
mod noop;
486
486
use self :: noop:: resolve as resolve_imp;
0 commit comments