We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
optimize(size)
1 parent 9d2c34e commit e5aae12Copy full SHA for e5aae12
src/symbolize/gimli.rs
@@ -114,6 +114,8 @@ struct Context<'a> {
114
}
115
116
impl<'data> Context<'data> {
117
+ // #[feature(optimize_attr)] is enabled when we're built inside libstd
118
+ #[cfg_attr(backtrace_in_libstd, optimize(size))]
119
fn new(
120
stash: &'data Stash,
121
object: Object<'data>,
@@ -355,6 +357,8 @@ impl Cache {
355
357
356
358
359
// unsafe because this is required to be externally synchronized
360
361
362
unsafe fn with_global(f: impl FnOnce(&mut Self)) {
363
// A very small, very simple LRU cache for debug info mappings.
364
//
0 commit comments