3 ms·
It'd be nice if the default was external symbols rather than none at all
by raggi 3y ago
It'd be nice if the default was external symbols rather than none at all
- berkes 3y agoI'd find that a bit counterintuitive. To me, --release is an alternative for --debug. Debug implies debug stuff is in there, therefore the alternative removes it. But I do find it useful now and then to have debug symbols in production, so that monitoring and telemetry gets some context. But to me, it's rather logical that I need to add this to the build. I would, however, love it when it's trivial to get these symbols set up external.
- raggi 3y agoGNU binutils and LLVM both have support for debuginfod server topologies now, it would be great to see Rust tools get on the train. https://github.com/llvm/llvm-project/commit/36f01909a0e29c1014301ed6835687a84bf0e9fa https://github.com/llvm/llvm-project/commit/36f01909a0e29c10... And naturally we already have a port: https://crates.io/crates/debuginfod-rs https://crates.io/crates/debuginfod-rs