0xMiden/compiler

feat(objtool): diff two packages in terms of size

Aperta

#1029 aperta il 25 mar 2026

 (0 commenti) (0 reazioni) (1 assegnatario)Rust (70 fork)github user discovery
good first issue

Metriche repository

Star
 (110 stelle)
Metriche merge PR
 (Merge medio 4g 7h) (51 PR mergiate in 30 g)

Descrizione

As proposed by @bitwalker in this comment:

[...] provide a lower-level plumbing subcommand, diff, which compares two packages directly in terms of their size and where that size comes from - but the actual responsibility for producing those packages is left up to a higher-level tool, i.e.

$ cargo miden build --debug -o a.masp
$ midenc asm/miden-project.toml -o b.masp
$ objtool diff a.masp b.masp

Depends on #1028 for breaking down sizes per sections.

Guida contributor