News for hackers. Stuff that matters.
Re:Bzip2 crate switches from C to 100% rust by TuxSH on Wednesday June 18, 2025 @08:36AM (#44309339)
You don't need LTO to trim static binaries (though LTO will do it), `-ffunction-sections -fdata-sections` in compiler flags combined with `--gc-section` (or equivalent) in linker flags will do it.

This way you can get small binaries with readable assembly.

There are no comments on this comment yet.