Analyze Rust binary size.
cargo binstall cargo-bsize
cargo bsize
cargo bsize --cdylib rolldown_binding path/to/rolldown
cargo bsize --staticlib my_ffi_lib path/to/project
A staticlib is an archive of unlinked objects, so it is first linked into a
shared library with cc (every member kept, dead code stripped, symbols the
host provides left unresolved) and that is what gets analyzed.
The output is a Markdown report that can be fed into an agent. It shows:
5,602 followers · starred Aug 2026
8,408 followers · starred Aug 2026
155 followers · starred Aug 2026
1,052 followers · starred Aug 2026
Analyze Rust binary size.
cargo binstall cargo-bsize
cargo bsize
cargo bsize --cdylib rolldown_binding path/to/rolldown
cargo bsize --staticlib my_ffi_lib path/to/project
A staticlib is an archive of unlinked objects, so it is first linked into a
shared library with cc (every member kept, dead code stripped, symbols the
host provides left unresolved) and that is what gets analyzed.
The output is a Markdown report that can be fed into an agent. It shows:
5,602 followers · starred Aug 2026
8,408 followers · starred Aug 2026
155 followers · starred Aug 2026
1,052 followers · starred Aug 2026