Automic VaultAutomic Vault

brew

Install cargo-show-asm with Homebrew, apk, Nix, pacman, MacPorts

Show assembly, LLVM-IR, MIR, and WASM generated for Rust code. Version 0.2.62 via Homebrew; verified 2026-06-26. Also installable with nix: nix profile install nixpkgs#cargo-show-asm.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cargo-show-asm

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install cargo-asm

MacPorts ports tree · devel/cargo-asm/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add cargo-show-asm

Alpine Linux edge package indexes · cargo-show-asm · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#cargo-show-asm

nixpkgs package indexes · pkgs/by-name/ca/cargo-show-asm/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S cargo-show-asm

Arch Linux sync databases · cargo-show-asm · source: geo.mirror.pkgbuild.com

overview

Package summary

Show assembly, LLVM-IR, MIR, and WASM generated for Rust code

Commands and aliases

  • cargo-asm

history

Project history and usage

cargo-show-asm is a Cargo subcommand, invoked as cargo asm, for displaying generated assembly, LLVM IR, MIR, WebAssembly, and llvm-mca analysis for Rust code.

Project history

The GitHub repository was created in March 2022 and the crate was first published to crates.io in April 2022. Its README documents support for Linux and macOS, limited Windows support, stable and nightly Rust, multiple CPU architectures, and cross-compilation.

Adoption history

The crate is distributed through crates.io and batch package facts list Homebrew, MacPorts, Alpine, Nix, and Arch packaging. crates.io categorizes it as a Cargo plugin and debugging tool.

How it is used

Users install cargo-show-asm and run cargo asm, narrowing by package, artifact, function name, output format, CPU target, profile, or source scope. The README also documents JSON output, call-graph filtering, shell completions, and color features.

Why package nerds care

It gives Rust developers a convenient Cargo-native view into compiler output, useful for performance work, codegen inspection, and understanding exactly what a dependency or crate compiles down to.

Timeline

  • 2022: Repository created and first crates.io release published.
  • 2026: GitHub repository remained active and crates.io reported v0.2.62 as latest.
  • 2026: README documented assembly, LLVM IR, MIR, WASM, and llvm-mca output modes.

Related projects

  • The tool delegates to rustc/Cargo build outputs and supports llvm-mca analysis.
  • The executable name in package facts is cargo-asm, matching the README's cargo asm usage.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for cargo-show-asm. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
cargo-asmcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-25
manager version0.2.62
manager updated2026-06-26
local dataok
upstreamcurrent
latest detected0.2.62

https://github.com/pacak/cargo-show-asm

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cargo-show-asm
Version0.2.62
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cargo-show-asm
Homepagehttps://github.com/pacak/cargo-show-asm
Repositoryhttps://github.com/pacak/cargo-show-asm
Upstream docshttps://github.com/pacak/cargo-show-asm#readme
LicenseMIT OR Apache-2.0
Source archivehttps://github.com/pacak/cargo-show-asm/archive/refs/tags/0.2.62.tar.gz
Last updated2026-06-26T21:26:31Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecargo-show-asm
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

cargo-show-asm

nix profile install nixpkgs#cargo-show-asm
  • normalized package name match
  • Matched by: Cargo Show Asm
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-show-asm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-show-asm 0.2.60-r0

A cargo subcommand that displays the generated assembly of Rust source code

https://github.com/pacak/cargo-show-asm

sudo apk add cargo-show-asm
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: cargo-show-asm
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cargo Show Asm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-show-asm from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

cargo-show-asm-doc 0.2.60-r0

A cargo subcommand that displays the generated assembly of Rust source code (documentation)

https://github.com/pacak/cargo-show-asm

sudo apk add cargo-show-asm-doc
  • License: Apache-2.0 OR MIT
  • Architecture: x86_64
  • Source Package: cargo-show-asm
  • normalized package name match
  • Matched by: Cargo Show Asm
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-show-asm-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

cargo-show-asm 0.2.60-1

Cargo subcommand to display ASM, LLVM-IR and MIR for Rust source code

https://github.com/pacak/cargo-show-asm

sudo pacman -S cargo-show-asm
  • License: Apache-2.0 AND MIT
  • Architecture: x86_64
  • 4 dependencies
  • normalized package name match
  • Matched by: Cargo Show Asm
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-show-asm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts94%

cargo-asm

sudo port install cargo-asm
  • installed executable or alias match
  • Matched by: Cargo Asm
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/cargo-asm/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
pacman92%

cargo-asm 0.1.16-3

Cargo subcommand showing the assembly or llvm-ir generated for Rust code

https://github.com/gnzlbg/cargo-asm

sudo pacman -S cargo-asm
  • License: MIT AND Apache-2.0
  • Architecture: x86_64
  • 3 dependencies
  • installed executable or alias match
  • Matched by: Cargo Asm
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-asm from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment