Closed pacak closed 7 months ago
Experimental support for disassembly, cargo-show-asm needs to be compiled with "disasm" feature.
cargo-show-asm
With that you can pass --disasm flag to disassemble binary artifacts (.rlib files or executables) created by cargo.
--disasm
.rlib
To work with PGO, BOLT or other optimizations that require non standard build process you can pass path to binary directly with --file.
--file
For cargo-show-asm to detect symbols in your code you need to disable stripping by adding something like this to Cargo.toml
Cargo.toml
[profile.release] strip = false
At the moment interleaving rust source (--rust) is not supported
--rust
Fixes #174 Fixes #196
Experimental support for disassembly,
cargo-show-asm
needs to be compiled with "disasm" feature.With that you can pass
--disasm
flag to disassemble binary artifacts (.rlib
files or executables) created by cargo.To work with PGO, BOLT or other optimizations that require non standard build process you can pass path to binary directly with
--file
.For
cargo-show-asm
to detect symbols in your code you need to disable stripping by adding something like this toCargo.toml
At the moment interleaving rust source (
--rust
) is not supportedFixes #174 Fixes #196