Closed Esper89 closed 1 year ago
Last time we checked symbol stripping didn't provide a significant size reduction, and it would be nice to have more debug info in case of a crash.
Do windows builds even contain debug info in the first place? I thought they generated a separate .pdb
file.
Oh, right, does the debug info from panics stay when stripping though?
Yep, even with panic = "abort"
the file names and line numbers stay.
opt-level = 3
is redundant, since therelease
profile already has a defaultopt-level
of3
.Symbol stripping might not be something you want, but it tends to shrink binary size significantly.