Compiler should avoid generating very long type name
Rust Internals [Unofficial]
March 27, 2026
DWARF supports compressed debug info. There doesn't seem to be a way to enable it in cargo or even rustc though. That seems like a worthwhile thing to implement or at least experiment with. I have no idea if PDB supports this.
Another option is to enable compression at the file system level (btrfs, NTFS and a few more support this).
Discussion in the ATmosphere