cargo-show-asm
brew install cargo-show-asm
v0.2.61
MIT OR Apache-2.0
Show assembly, LLVM-IR, MIR, and WASM generated for Rust code
52
30-day installs · #4564
52
90-day · #7247
52
365-day · #10944
952
★ GitHub stars · updated 2mo ago
Build dependencies
GitHub topics
assembly
cargo
cargo-plugin
cargo-subcommand
llvm-ir
optimization
rust
Links
- https://github.com/pacak/cargo-show-asm
- GitHub: pacak/cargo-show-asm
- Brew formula source: Formula/c/cargo-show-asm.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"rust"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Show assembly, LLVM-IR, MIR, and WASM generated for Rust code",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:09+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cargo-show-asm",
"github_default_branch": "master",
"github_last_commit_at": "2026-06-15T18:33:02Z",
"github_readme_excerpt": "# cargo-show-asm\n\nA cargo subcommand that displays the Assembly, LLVM-IR, MIR and WASM generated for Rust source code.\n\n# Install\n\n```console\n$ cargo install cargo-show-asm\n```\n\n# Features\n\n- Platform support:\n\n - OS: Linux and macOS. Limited support for Windows\n - Rust: nightly and stable.\n - Architectures: `x86`, `x86_64`, `aarch64`, etc.\n - Cross-compilation support.\n\n- Displaying:\n\n - Assembly in Intel or AT\u0026T syntax.\n - Corresponding Rust source code alongside assembly.\n - llvm-ir.\n - rustc MIR\n - Wasm code\n - llvm-mca analysis\n\n# cargo asm\n\nShow the code rustc generates for any function\n\n**Usage**: **`cargo asm`** \\[**`-p`**=_`SPEC`_\\] \\[_`ARTIFACT`_\\] \\[**`-M`**=_`ARG`_\\]... \\[_`TARGET-CPU`_\\] \\[**`--rust`**\\] \\[**`-c`**=_`COUNT`_\\] \\[**`--simplify`**\\] \\[**`--include-constants`**\\] \\[**`--json`**\\] \\[**`--this-workspace`** | **`--all-crates`** | **`--all-sources`**\\] _`OUTPUT-FORMAT`_ \\[**`--callers-of`** _`REGEX`_ \\[_`DEPTH`_\\]\\] \\[**`--everything`** | _`FUNCTION`_ \\[_`INDEX`_\\]\\]\n\n Usage:\n 1. Focus on a single assembly producing target:\n\n ```text\n % cargo asm -p isin --lib # here we are targeting lib in isin crate\n\n\n ```\n 2. Narrow down a function:\n\n ```text\n % cargo asm -p isin --lib from_ # here \"from_\" is part of the function you are interested intel\n\n\n ```\n 3. Get the full results:\n\n ```text\n % cargo asm -p isin --lib isin::base36::from_alphanum\n ```\n\n\n**Pick artifact for analysis:**\n- **` --lib`** \u0026mdash; \n Show results from library code\n- **` --test`**=_`TEST`_ \u0026mdash; \n Show results from an integration test\n- **` --bench`**=_`BENCH`_ \u0026mdash; \n Show results from a benchmark\n- **` --example`**=_`EXAMPLE`_ \u0026mdash; \n Show results from an example\n- **` --bin`**=_`BIN`_ \u0026mdash; \n Show results from a binary\n\n\n\n**Cargo options**\n- **` --manifest-path`**=_`PATH`_ \u0026mdash; \n Path to Cargo.toml, defaults to one in current folder\n- **` --config`**=_`\u003cKEY=VALUE\u003e`_ \u0026mdash; \n Override a cargo configuration value\n-",
"github_repo": "pacak/cargo-show-asm",
"github_stars": 952,
"github_topics": [
"assembly",
"cargo",
"cargo-plugin",
"cargo-subcommand",
"llvm-ir",
"optimization",
"rust"
],
"homepage": "https://github.com/pacak/cargo-show-asm",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 52,
"installs_365d": 52,
"installs_90d": 52,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT OR Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "cargo-show-asm",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 4564,
"rank_365d": 10944,
"rank_90d": 7247,
"raw_hash": "38a1df3aa06f4120",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cargo-show-asm.rb",
"tap": "homebrew/core",
"test_dependencies": [
"rustup"
],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.2.61",
"versioned_formulae": [],
"why_use_this": null
}