We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c622d5 commit 426d02dCopy full SHA for 426d02d
src/symbolize/gimli.rs
@@ -363,6 +363,8 @@ impl Cache {
363
// never happen, and symbolicating backtraces would be ssssllllooooowwww.
364
static mut MAPPINGS_CACHE: Option<Cache> = None;
365
366
+ // SAFETY: this is literally why this fn is unsafe
367
+ #[allow(static_mut_refs)]
368
f(MAPPINGS_CACHE.get_or_insert_with(Cache::new))
369
}
370
0 commit comments