cargo-asm
cargo-asm copied to clipboard
Is there any maintained fork somewhere ?
I asked myself the same thing. Take a lot at https://github.com/gnzlbg/cargo-asm/network. There are some more recently-updated forks, such as the one from @taiki-e: https://github.com/taiki-e/cargo-asm.
There is now. https://crates.io/crates/cargo-show-asm / https://github.com/pacak/cargo-show-asm but it's not a fork but a reimplementation
@pacak can you provide some details on the differences between cargo-asm and cargo-show-asm?
can you provide some details on the differences between cargo-asm and cargo-show-asm?
https://www.reddit.com/r/rust/comments/u3g0ih/new_crate_announcement_cargoshowasm/
-
cargo-show-asm
is maintained. -
cargo-asm
is not working well with workspaces because it implements the logic of callingrustc
on its own. As a result this means it will recompile everything every time with 1 codegen unit (very slow) and also affects how it will behave after you done looking at the asm,cargo-show-asm
reusescargo
to do most of the heavy lifting = much less likely to break. - Because of how
cargo-asm
handles demangling the output looks like asm but not actually asm. It contains a whole bunch of extra commas which makes reusing it more annoying. -
cargo-asm
always uses colors unless you pass a flag whilecargo-show-asm
does something better. - There are pull requests to fix some of those issues in
cargo-asm
but no branch containing all of them as far as I understand. -
cargo-show-asm
also supports MIR.