0xMiden/compiler

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

Aberta

#1.029 aberto em 25 de mar. de 2026

 (0 comentário) (0 reação) (1 responsável)Rust (70 forks)github user discovery
good first issue

Métricas do repositório

Stars
 (110 estrelas)
Métricas de merge de PR
 (Mesclagem média 4d 7h) (51 fundiu PRs em 30d)

Description

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.

Guia do colaborador