File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -341,8 +341,8 @@ lazy_static! {
341
341
// leverage the structures built when constructing `addr2line::Context`s to
342
342
// get nice speedups. If we didn't have this cache, that amortization would
343
343
// never happen, and symbolicating backtraces would be ssssllllooooowwww.
344
- // static MAPPINGS_CACHE: RefCell <Vec<(PathBuf, Mapping)>> = RefCell::new(Vec::with_capacity(MAPPINGS_CACHE_SIZE));
345
- static ref MAPPINGS_CACHE : Mutex < Vec < ( PathBuf , Mapping ) >> = Mutex :: new( Vec :: with_capacity( MAPPINGS_CACHE_SIZE ) ) ;
344
+ static ref MAPPINGS_CACHE : Mutex <Vec <( PathBuf , Mapping ) >>
345
+ = Mutex :: new( Vec :: with_capacity( MAPPINGS_CACHE_SIZE ) ) ;
346
346
}
347
347
348
348
pub fn clear_symbol_cache ( ) {
Original file line number Diff line number Diff line change @@ -462,7 +462,6 @@ cfg_if::cfg_if! {
462
462
use self :: gimli:: resolve as resolve_imp;
463
463
use self :: gimli:: Symbol as SymbolImp ;
464
464
use self :: gimli:: clear_symbol_cache as clear_imp;
465
- // pub use self::gimli::clear_symbol_cache as clear_symbol_cache;
466
465
// Note that we only enable coresymbolication on iOS when debug assertions
467
466
// are enabled because it's helpful in debug mode but it looks like apps get
468
467
// rejected from the app store if they use this API, see #92 for more info
You can’t perform that action at this time.
0 commit comments