Skip to content

coreutils: tweak build profile for right balance between the smallest binary size and enough debug info

Dylan Aïssi requested to merge wip/daissi/rust-coreutils-size into master

This is the change applied in Apertis to get a smaller binary: 10.1 MB vs 23.7 MB in Debian for rust-coreutils 0.0.30-1.

It is possible to have an even smaller binary, but we lose the debug info that we need in Apertis to generate a SBOM.

This MR may not be useful for Debian, but it's for sharing what we've done because rust-coreutils is getting attention (see 1 and 2) with concern about its size.

Merge request reports

Loading