
Guide
Shrink a Rust Binary Step by Step and Track Each Gain
Shrink a Rust binary in steps: strip symbols, size optimization, LTO, panic abort, dependency pruning and cargo bloat to find what takes the space.
13 min read
Tag
1 post

Shrink a Rust binary in steps: strip symbols, size optimization, LTO, panic abort, dependency pruning and cargo bloat to find what takes the space.