2 ms·
> 2. we compile the binary with debug symbols symbols are usually included even with debuglevel 0, unless stripped[0]. And debuginfo is configurable at several
by the8472 2y ago
> 2. we compile the binary with debug symbols
symbols are usually included even with debuglevel 0, unless stripped[0]. And debuginfo is configurable at several levels[1]. If you've set it to 2/full try dropping to a lower level, that might also result in less data to load for the backtrace implementation.
[0] https://users.rust-lang.org/t/difference-between-strip-symbols-and-strip-debuginfo/96602 https://users.rust-lang.org/t/difference-between-strip-symbo...
[1] https://doc.rust-lang.org/cargo/reference/profiles.html#debug https://doc.rust-lang.org/cargo/reference/profiles.html#debu...
- erebe__ 2y agoThanks, was not aware there was granularity for debuginfo ;)