I have a question about rust-analyzer.
When I receive bug reports with panics, I want panic messages and backtraces to contain line numbers, so that it's easier to investigate failures.
My understanding is that lines are not always included with
debug = false (at least that's my impression from local testing on Linux, I didn't investigate this thoroughly).
However, compiling with
debug = 1 doesn't solve the problem:
- on windows and macs the debuginfo is split, which is uselful for development but, not not so much during shipping
- on Linux, this inflates (gzipped) file from 8mb to 40mb, which is not way more than I am ready to pay
- how do people solve this problem? Is there some blog post which investigates and documents the current state of affair?
- is it reasonable at all that
debug = 1increases the binary size five times?