pkg.soopen package index

brew / 排名 4088

使用 Homebrew, apk, Nix, pacman 安装 cargo-zigbuild

查看 cargo-zigbuild 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cargo-zigbuild

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add cargo-zigbuild

Alpine Linux edge package indexes · cargo-zigbuild · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#cargo-zigbuild

nixpkgs package indexes · pkgs/by-name/ca/cargo-zigbuild/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S cargo-zigbuild

Arch Linux sync databases · cargo-zigbuild · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Compile Cargo project with zig as linker

命令和别名

  • cargo-zigbuild

历史

项目历史与用法

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.

时间线

  • 2022: GitHub repository created and first crates.io release recorded.
  • 2026: crates.io records max_version 0.23.0.

Related projects

  • The README links Zig, ziglang's PyPI package, Docker images, rustup targets, bindgen, and upstream Zig cross-compilation issues.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cargo-zigbuild可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.23.0
管理器更新时间2026-06-18
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

cargo-zigbuild

nix profile install nixpkgs#cargo-zigbuild
  • normalized package name match
  • 匹配方式:Cargo Zigbuild
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cargo-zigbuild/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

cargo-zigbuild 0.22.3-r0

Compile Cargo project with zig as linker

https://github.com/rust-cross/cargo-zigbuild

sudo apk add cargo-zigbuild
  • License: MIT
  • Architecture: x86_64
  • Source Package: cargo-zigbuild
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Cargo Zigbuild
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-zigbuild from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cargo-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-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: cargo-zigbuild
  • normalized package name match
  • 匹配方式:Cargo Zigbuild
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cargo-zigbuild-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

cargo-zigbuild 0.23.0-1

Compile Cargo project with zig as linker

https://github.com/rust-cross/cargo-zigbuild

sudo pacman -S cargo-zigbuild
  • License: MIT
  • Architecture: x86_64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Cargo Zigbuild
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: cargo-zigbuild from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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