{"id":19771924,"url":"https://github.com/vezel-dev/zig-toolsets","last_synced_at":"2025-12-24T16:40:51.928Z","repository":{"id":40426956,"uuid":"376863513","full_name":"vezel-dev/zig-toolsets","owner":"vezel-dev","description":"The Zig compiler and standard library packaged for use in MSBuild.","archived":false,"fork":false,"pushed_at":"2025-04-15T19:35:01.000Z","size":273,"stargazers_count":16,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-28T21:24:37.856Z","etag":null,"topics":["build","c","cpp","dotnet","msbuild","zig"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vezel-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-0BSD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"vezel-dev","open_collective":"vezel"}},"created_at":"2021-06-14T15:02:44.000Z","updated_at":"2025-04-22T03:08:09.000Z","dependencies_parsed_at":"2024-01-04T10:27:14.568Z","dependency_job_id":"83fd8186-0cbb-46eb-ac9f-a461175a5319","html_url":"https://github.com/vezel-dev/zig-toolsets","commit_stats":{"total_commits":248,"total_committers":2,"mean_commits":124.0,"dds":"0.22983870967741937","last_synced_commit":"aa9a101905b7008b312558f7778aeecf6e8beafc"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vezel-dev%2Fzig-toolsets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vezel-dev%2Fzig-toolsets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vezel-dev%2Fzig-toolsets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vezel-dev%2Fzig-toolsets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vezel-dev","download_url":"https://codeload.github.com/vezel-dev/zig-toolsets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251644193,"owners_count":21620615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","c","cpp","dotnet","msbuild","zig"],"created_at":"2024-11-12T05:04:40.662Z","updated_at":"2025-12-24T16:40:51.883Z","avatar_url":"https://github.com/vezel-dev.png","language":"C#","readme":"# Zig Toolsets\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"zig.svg\"\n         width=\"128\"\n         alt=\"Zig Toolsets\" /\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003e\n        The Zig compiler and standard library packaged for use in MSBuild.\n    \u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![License](https://img.shields.io/badge/license-0BSD%20AND%20MIT-brown)](LICENSE-0BSD)\n[![Commits](https://img.shields.io/github/commit-activity/m/vezel-dev/zig-toolsets/master?label=commits\u0026color=slateblue)](https://github.com/vezel-dev/zig-toolsets/commits/master)\n[![Build](https://img.shields.io/github/actions/workflow/status/vezel-dev/zig-toolsets/build.yml?branch=master)](https://github.com/vezel-dev/zig-toolsets/actions/workflows/build.yml)\n[![Discussions](https://img.shields.io/github/discussions/vezel-dev/zig-sdk?color=teal)](https://github.com/vezel-dev/zig-sdk/discussions)\n[![Discord](https://img.shields.io/badge/discord-chat-7289da?logo=discord)](https://discord.gg/wtzCfaX2Nj)\n[![Zulip](https://img.shields.io/badge/zulip-chat-394069?logo=zulip)](https://vezel.zulipchat.com)\n\n\u003c/div\u003e\n\n---\n\nThis project packs and distributes the [Zig](https://ziglang.org) compiler and\nstandard library in a set of NuGet packages for each platform that .NET runs on.\nThese packages are mainly used by the [Zig SDK](https://docs.vezel.dev/zig-sdk)\nbut can also be used by other projects.\n\n* For every official release of Zig, a set of NuGet packages with the name\n  pattern `Vezel.Zig.Toolsets.\u003crid\u003e` is published, where `\u003crid\u003e` is replaced\n  with `linux-arm64`, `osx-x64`, `win-x86`, etc.\n* Only the RIDs that .NET runs on are covered (so e.g.\n  `Vezel.Zig.Toolsets.linux-x86` is *not* available).\n* The package version matches the official Zig release's version, with an extra\n  fourth component added indicating the packaging version.\n\n## Usage\n\nThis project offers the following packages:\n\n| Package | Description | Downloads |\n| -: | - | :- |\n| [![Vezel.Zig.Toolsets.linux-arm][linux-arm-img]][linux-arm-pkg] | Provides the toolset for the `linux-arm` build platform. | ![Downloads][linux-arm-dls] |\n| [![Vezel.Zig.Toolsets.linux-arm64][linux-arm64-img]][linux-arm64-pkg] | Provides the toolset for the `linux-arm64` build platform. | ![Downloads][linux-arm64-dls] |\n| [![Vezel.Zig.Toolsets.linux-ppc64le][linux-ppc64le-img]][linux-ppc64le-pkg] | Provides the toolset for the `linux-ppc64le` build platform. | ![Downloads][linux-ppc64le-dls] |\n| [![Vezel.Zig.Toolsets.linux-riscv64][linux-riscv64-img]][linux-riscv64-pkg] | Provides the toolset for the `linux-riscv64` build platform. | ![Downloads][linux-riscv64-dls] |\n| [![Vezel.Zig.Toolsets.linux-x64][linux-x64-img]][linux-x64-pkg] | Provides the toolset for the `linux-x64` build platform. | ![Downloads][linux-x64-dls] |\n| [![Vezel.Zig.Toolsets.osx-arm64][osx-arm64-img]][osx-arm64-pkg] | Provides the toolset for the `osx-arm64` build platform. | ![Downloads][osx-arm64-dls] |\n| [![Vezel.Zig.Toolsets.osx-x64][osx-x64-img]][osx-x64-pkg] | Provides the toolset for the `osx-x64` build platform. | ![Downloads][osx-x64-dls] |\n| [![Vezel.Zig.Toolsets.win-arm64][win-arm64-img]][win-arm64-pkg] | Provides the toolset for the `win-arm64` build platform. | ![Downloads][win-arm64-dls] |\n| [![Vezel.Zig.Toolsets.win-x64][win-x64-img]][win-x64-pkg] | Provides the toolset for the `win-x64` build platform. | ![Downloads][win-x64-dls] |\n| [![Vezel.Zig.Toolsets.win-x86][win-x86-img]][win-x86-pkg] | Provides the toolset for the `win-x86` build platform. | ![Downloads][win-x86-dls] |\n\n[linux-arm-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-arm\n[linux-arm64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-arm64\n[linux-ppc64le-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-ppc64le\n[linux-riscv64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-riscv64\n[linux-x64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.linux-x64\n[osx-arm64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.osx-arm64\n[osx-x64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.osx-x64\n[win-arm64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.win-arm64\n[win-x64-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.win-x64\n[win-x86-pkg]: https://www.nuget.org/packages/Vezel.Zig.Toolsets.win-x86\n\n[linux-arm-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-arm?label=Vezel.Zig.Toolsets.linux-arm\n[linux-arm64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-arm64?label=Vezel.Zig.Toolsets.linux-arm64\n[linux-ppc64le-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-ppc64le?label=Vezel.Zig.Toolsets.linux-ppc64le\n[linux-riscv64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-riscv64?label=Vezel.Zig.Toolsets.linux-riscv64\n[linux-x64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.linux-x64?label=Vezel.Zig.Toolsets.linux-x64\n[osx-arm64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.osx-arm64?label=Vezel.Zig.Toolsets.osx-arm64\n[osx-x64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.osx-x64?label=Vezel.Zig.Toolsets.osx-x64\n[win-arm64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.win-arm64?label=Vezel.Zig.Toolsets.win-arm64\n[win-x64-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.win-x64?label=Vezel.Zig.Toolsets.win-x64\n[win-x86-img]: https://img.shields.io/nuget/v/Vezel.Zig.Toolsets.win-x86?label=Vezel.Zig.Toolsets.win-x86\n\n[linux-arm-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-arm?label=\n[linux-arm64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-arm64?label=\n[linux-ppc64le-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-ppc64le?label=\n[linux-riscv64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-riscv64?label=\n[linux-x64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.linux-x64?label=\n[osx-arm64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.osx-arm64?label=\n[osx-x64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.osx-x64?label=\n[win-arm64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.win-arm64?label=\n[win-x64-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.win-x64?label=\n[win-x86-dls]: https://img.shields.io/nuget/dt/Vezel.Zig.Toolsets.win-x86?label=\n\nTo install a package, run `dotnet add package \u003cname\u003e`.\n\nThe following MSBuild properties will be injected into your project:\n\n* `ZigToolsetPath`: Path to the extracted toolset package directory in the NuGet\n  package cache.\n* `ZigExePath`: Path to the Zig compiler executable (`zig` or `zig.exe`).\n* `ZigLibPath`: Path to the Zig standard library.\n* `ZigDocPath`: Path to the Zig standard library documentation.\n\n## Building\n\nYou will need the .NET SDK installed. Simply run `./cake`\n(a [Bash](https://www.gnu.org/software/bash) script) to build artifacts.\n\nNote that, on Windows, you must have a `tar` program capable of extracting\n`.tar.xz` archives. For example, `tar` from\n[Git for Windows](https://gitforwindows.org) or [MSYS2](https://www.msys2.org)\nwill satisfy this requirement.\n\n## License\n\nThis project is licensed under the terms found in\n[`LICENSE-0BSD`](LICENSE-0BSD).\n\nThe Zig compiler and standard library are licensed under the terms found in\n[`LICENSE-MIT`](LICENSE-MIT).\n\nThe Zig logo is licensed under the terms found in\n[`LICENSE-CC-BY-SA-4.0`](LICENSE-CC-BY-SA-4.0).\n","funding_links":["https://github.com/sponsors/vezel-dev","https://opencollective.com/vezel"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvezel-dev%2Fzig-toolsets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvezel-dev%2Fzig-toolsets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvezel-dev%2Fzig-toolsets/lists"}