macOS
brew install cargo-llvm-lineslocal Homebrew formula metadata
安装
brew install cargo-llvm-lineslocal Homebrew formula metadata
nix profile install nixpkgs#cargo-llvm-linesnixpkgs package indexes · pkgs/by-name/ca/cargo-llvm-lines/package.nix · 来源: api.github.com
概览
Count lines of LLVM IR per generic function
历史
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.
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.
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.
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.
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.
安全态势
没有找到 cargo-llvm-lines 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-llvm-lines | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dtolnay/cargo-llvm-lines
安装元数据
| 软件包键 | brew:cargo-llvm-lines |
|---|---|
| 版本 | 0.4.46 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/cargo-llvm-lines |
| 主页 | https://github.com/dtolnay/cargo-llvm-lines |
| 仓库 | https://github.com/dtolnay/cargo-llvm-lines |
| 上游文档 | https://github.com/dtolnay/cargo-llvm-lines#readme |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://github.com/dtolnay/cargo-llvm-lines/archive/refs/tags/0.4.46.tar.gz |
| 最后更新 | 2026-05-29T17:20:08+02:00 |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cargo-llvm-lines |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-llvm-lines
nix profile install nixpkgs#cargo-llvm-lines来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.