cargo-binutils
« Back to VersTracker
Description:
Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain
Type: Formula  |  Latest Version: 0.4.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust llvm debugging profiling developer-tools binutils
Install: brew install cargo-binutils
About:
cargo-binutils provides convenient Cargo subcommands that wrap the powerful LLVM tools distributed with the Rust toolchain. It simplifies complex tasks like inspecting binaries, analyzing memory dumps, and profiling performance by offering a more ergonomic, Rust-aware interface. This tool is essential for developers needing low-level insight into their compiled artifacts without manually invoking long, complex tool paths.
Key Features:
  • Seamless integration with Cargo's command-line workflow
  • Wraps complex LLVM tools like objdump, nm, and size with simpler flags
  • Automatically locates and uses the correct tools from the Rust toolchain
  • Supports both binary inspection and performance profiling tasks
Use Cases:
  • Inspecting the machine code and symbol tables of compiled Rust binaries
  • Analyzing binary sizes to identify optimization opportunities
  • Generating flame graphs for performance profiling
Alternatives:
  • cargo-asm – Focuses specifically on viewing assembly, whereas cargo-binutils provides a broader suite of inspection tools.
  • llvm-tools-preview – Provides the raw tools; cargo-binutils adds the user-friendly Cargo subcommand wrapper.
License: Apache-2.0 OR MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Oct 27, 2024 11:42pm 0 VERSION_BUMP aca0e0a0