pkg.soopen package index

brew / rank 6584

Install cargo-llvm-lines with Homebrew, Nix

Count lines of LLVM IR per generic function. Version 0.4.46 via Homebrew; verified 2026-05-29. Also installable with nix: nix profile install nixpkgs#cargo-llvm-lines.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cargo-llvm-lines

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#cargo-llvm-lines

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

overview

Package summary

Count lines of LLVM IR per generic function

Commands and aliases

  • cargo-llvm-lines

history

Project history and usage

cargo-llvm-lines measures the number and size of LLVM IR instantiations for generic functions in a Rust program. Its README frames the output as a way to find code with the highest leverage for improving compilation metrics.

Project history

The crate first appeared on crates.io in November 2017 as version 0.1.0. The README credits the idea to eddyb's suggestion for counting monomorphized functions while debugging compiler memory use, executable size, and compile time.

Adoption history

The package is available through Homebrew and Nix according to the input facts, and crates.io reported 134,082 downloads when checked on 2026-06-30. Its audience is narrower than test runners or build tools, but it is well known among Rust developers investigating monomorphization bloat.

How it is used

Users run cargo llvm-lines to see total LLVM IR lines, number of copies, and function names, optionally using -p to inspect a package in a multi-crate project or release/LTO settings for a broader view.

Why package nerds care

It is a package-nerd tool because it exposes otherwise hidden codegen costs in dependency and generic-heavy Rust crates, helping maintainers decide where small API or generic changes can reduce compile time and binary size.

Timeline

  • 2017: First crates.io release 0.1.0.
  • 2026: Crates.io latest version 0.4.46 and Homebrew stable version 0.4.46.

Related projects

  • Related tooling includes Cargo, rustc/LLVM IR output, and compiler performance analysis workflows.

security posture

No protected-tool coverage found yet

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

Install behavior

  • No Homebrew bottle metadata was recorded.

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-llvm-linesexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version0.4.46
manager updated2026-05-29
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cargo-llvm-lines
Version0.4.46
Package managerHomebrew
Homepagehttps://github.com/dtolnay/cargo-llvm-lines
Repositoryhttps://github.com/dtolnay/cargo-llvm-lines
Last updated2026-05-29T17:20:08+02:00
Pulseupdated
Bottlenot recorded
Servicenone declared

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-llvm-lines

nix profile install nixpkgs#cargo-llvm-lines
  • normalized package name match
  • Matched by: Cargo Llvm Lines
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-llvm-lines/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

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

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation