pacak / cargo-show-asm

cargo subcommand showing the assembly, LLVM-IR and MIR generated for Rust code
Apache License 2.0
715 stars 35 forks source link

An easier way to compare different versions #278

Open pacak opened 6 months ago

pacak commented 6 months ago

User interface might look like that

This creates a base file for this specific function storing it somewhere under target/tmp/${hash(target, NAME)}, with "base" as a default name

% cargo asm ... --base [NAME] 

This reads base and compares to newly generated version, possibly doing smart thing to labels


% cargo asm -- --diff [NAME]