macOS
brew install cargo-zigbuildlocal Homebrew formula metadata
安装
brew install cargo-zigbuildlocal Homebrew formula metadata
sudo apk add cargo-zigbuildAlpine Linux edge package indexes · cargo-zigbuild · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#cargo-zigbuildnixpkgs package indexes · pkgs/by-name/ca/cargo-zigbuild/package.nix · 来源: api.github.com
sudo pacman -S cargo-zigbuildArch Linux sync databases · cargo-zigbuild · 来源: geo.mirror.pkgbuild.com
概览
Compile Cargo project with zig as linker
历史
cargo-zigbuild is a Cargo subcommand that compiles Rust projects using Zig as the linker to simplify cross compilation.
The official README describes cargo-zigbuild as using Zig as linker for easier Rust cross compilation, with cargo, pip, and container installation paths.
GitHub records the repository as created in February 2022, and crates.io records the first release the same day. The input package facts list Alpine, Homebrew, Nix, and Arch packages, and the README also advertises PyPI and Docker distribution.
The README documents installing Zig, adding Rust targets with rustup, running `cargo zigbuild --target ...`, setting environment variables for Zig/Python/cache paths, targeting glibc versions, and building macOS universal2 binaries.
cargo-zigbuild is significant for package builders because it packages a practical Rust cross-compilation workflow around Zig's linker and libc tooling, reducing the need for bespoke target toolchains.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cargo-zigbuild | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:cargo-zigbuild |
|---|---|
| 版本 | 0.23.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/rust-cross/cargo-zigbuild |
| 仓库 | https://github.com/rust-cross/cargo-zigbuild |
| 最后更新 | 2026-06-18T10:45:13Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
cargo-zigbuild
nix profile install nixpkgs#cargo-zigbuildcargo-zigbuild 0.22.3-r0
Compile Cargo project with zig as linker
https://github.com/rust-cross/cargo-zigbuild
sudo apk add cargo-zigbuildcargo-zigbuild-doc 0.22.3-r0
Compile Cargo project with zig as linker (documentation)
https://github.com/rust-cross/cargo-zigbuild
sudo apk add cargo-zigbuild-doccargo-zigbuild 0.23.0-1
Compile Cargo project with zig as linker
https://github.com/rust-cross/cargo-zigbuild
sudo pacman -S cargo-zigbuild来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.