Skip to content

Commit

Permalink
Add cargo-zigbuild (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Jun 6, 2024
1 parent eb4a68d commit 45b6915
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/.cspell/project-dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ wasmtime
watchexec
xbuild
xscale
zigbuild
1 change: 1 addition & 0 deletions TOOLS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ If a tool not included in the list below is specified, this action uses [cargo-b
| [**cargo-tarpaulin**](https://github.com/xd009642/tarpaulin) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/xd009642/tarpaulin/releases) | Linux, macOS, Windows | [MIT](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-MIT) OR [Apache-2.0](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-APACHE) |
| [**cargo-udeps**](https://github.com/est31/cargo-udeps) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/est31/cargo-udeps/releases) | Linux, macOS, Windows | [Apache-2.0 OR MIT](https://github.com/est31/cargo-udeps/blob/HEAD/LICENSE) |
| [**cargo-valgrind**](https://github.com/jfrimmel/cargo-valgrind) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/jfrimmel/cargo-valgrind/releases) | Linux, macOS, Windows | [MIT](https://github.com/jfrimmel/cargo-valgrind/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/jfrimmel/cargo-valgrind/blob/master/LICENSE-APACHE) |
| [**cargo-zigbuild**](https://github.com/rust-cross/cargo-zigbuild) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-cross/cargo-zigbuild/releases) | Linux, macOS, Windows | [MIT](https://github.com/rust-cross/cargo-zigbuild/blob/main/LICENSE) |
| [**cross**](https://github.com/cross-rs/cross) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/cross-rs/cross/releases) | Linux, macOS, Windows | [MIT](https://github.com/cross-rs/cross/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/cross-rs/cross/blob/main/LICENSE-APACHE) |
| [**dprint**](https://github.com/dprint/dprint) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/dprint/dprint/releases) | Linux, macOS, Windows | [MIT](https://github.com/dprint/dprint/blob/main/LICENSE) |
| [**editorconfig-checker**](https://github.com/editorconfig-checker/editorconfig-checker) | `/usr/local/bin` | [GitHub Releases](https://github.com/editorconfig-checker/editorconfig-checker/releases) | Linux, macOS, Windows | [MIT](https://github.com/editorconfig-checker/editorconfig-checker/blob/main/LICENSE) |
Expand Down
44 changes: 44 additions & 0 deletions manifests/cargo-zigbuild.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions tools/codegen/base/cargo-zigbuild.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"repository": "https://github.com/rust-cross/cargo-zigbuild",
"tag_prefix": "v",
"rust_crate": "${package}",
"asset_name": "${package}-v${version}.${rust_target}.tar.gz",
"version_range": ">= 0.18.4",
"platform": {
"x86_64_linux_musl": {},
"x86_64_windows": {
"asset_name": "${package}-v${version}.windows-x64.zip"
},
"aarch64_linux_musl": {},
"aarch64_macos": {
"asset_name": "${package}-v${version}.apple-darwin.tar.gz"
},
"aarch64_windows": {
"asset_name": "${package}-v${version}.windows-arm64.zip"
}
}
}

0 comments on commit 45b6915

Please sign in to comment.