cargo-binutils
brew install cargo-binutils
v0.4.0
Apache-2.0 OR MIT
Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain
18
30-day installs · #7100
47
90-day · #7516
239
365-day · #6934
593
★ GitHub stars · updated 6mo ago
Build dependencies
Links
- https://github.com/rust-embedded/cargo-binutils
- GitHub: rust-embedded/cargo-binutils
- Brew formula source: Formula/c/cargo-binutils.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"rust"
],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:07+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cargo-binutils",
"github_default_branch": "master",
"github_last_commit_at": "2026-02-12T17:06:45Z",
"github_readme_excerpt": "# `cargo-binutils`\n\n\u003e Cargo subcommands to invoke the LLVM tools shipped with the Rust toolchain\n\n**NOTE** This is **not** an official Rust project.\n\nThis project is developed and maintained by the [Embedded WG Tools team][team].\n\n## Features\n\n- All Rust symbols in the output of the LLVM tools are automatically demangled.\n- No need to pass the path to the artifact as an argument if using the tool in\n \"build and inspect\" mode.\n\n## Installation\n\n``` console\n$ cargo install cargo-binutils\n\n$ rustup component add llvm-tools\n```\n\n## Usage\n\nThis:\n\n``` console\n$ rust-$tool ${args[@]}\n```\n\nis basically sugar for:\n\n``` console\n$ $(find $(rustc --print sysroot) -name llvm-$tool) ${args[@]}\n```\n\nApart from these `rust-*` tools, which are direct proxies for the llvm tools in\nthe `llvm-tools` component, the crate also provides some Cargo\nsubcommands that will first build the project and then run the llvm tool on the\noutput artifact. This:\n\n``` console\n$ cargo size --example foo\n```\n\nis sugar for:\n\n``` console\n$ cargo build --example foo\n$ rust-size target/examples/foo\n```\n\nThese commands take similar options to `cargo build` and you can specify\na specific binary with `--bin NAME`, an example with `--example NAME`\nor the default binary by not passing `--bin` or `--example`.\n\nIn the case of `cargo-objdump` the architecture of the compilation target is\npassed as `-arch-name=$target` to `llvm-objdump`. `-arch-name` specifies to\nwhich architecture disassemble the object file to.\n\nYou can get more information about the CLI of each tool by running `rust-$tool\n -help`.\n\nAll the Cargo subcommands accept a `--verbose` / `-v` flag. In verbose mode the\n`rust-$tool` invocation will be printed to stderr.\n\nBuild and inspect mode: Some subcommands accept the flags: `--bin`, `--example`,\n`--lib`, `--target` and `--release`. These can be used to make the subcommand\nfirst build the respective binary, example or library and have the path to the\nartifact be automatically passed to the LLVM tool. Th",
"github_repo": "rust-embedded/cargo-binutils",
"github_stars": 593,
"github_topics": [],
"homepage": "https://github.com/rust-embedded/cargo-binutils",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 18,
"installs_365d": 239,
"installs_90d": 47,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0 OR MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "cargo-binutils",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 7100,
"rank_365d": 6934,
"rank_90d": 7516,
"raw_hash": "615b1f5a9d9737f2",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cargo-binutils.rb",
"tap": "homebrew/core",
"test_dependencies": [
"rustup"
],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.4.0",
"versioned_formulae": [],
"why_use_this": null
}