v0.10.0
Setup Instructions
Add the following to your MODULE.bazel file to install rules_zig:
bazel_dep(name = "rules_zig", version = "0.10.0")Optionally add the following to your MODULE.bazel file to install a specific Zig toolchain version:
zig = use_extension("//zig:extensions.bzl", "zig")
zig.toolchain(zig_version = "0.14.1")You can call zig.toolchain multiple times to install multiple Zig versions.
Note, rules_zig requires bzlmod, WORKSPACE mode is no longer supported.
Summary
- Supported Zig versions: 0.13.0, 0.14.1
- Supported Bazel versions: 8.x
- Bazel WORKSPACE support removed: use bzlmod
zig_libraryrenamed tozig_static_library
What's Changed
- feat!: remove Bazel WORKSPACE support, bzlmod required by @aherrmann in #482
- chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.8.1 by @renovate[bot] in #484
- chore(deps): update dependency bazel to v8.3.1 by @renovate[bot] in #481
- chore(deps): update dependency bazel_skylib to v1.8.1 by @renovate[bot] in #483
- chore(deps): update dependency buildifier_prebuilt to v8.2.0.2 by @renovate[bot] in #474
- chore(deps): update mcr.microsoft.com/devcontainers/universal docker tag to v3 by @renovate[bot] in #472
- chore(deps): update dependency rules_bazel_integration_test to v0.33.2 by @renovate[bot] in #475
- feat!: remove old Zig version support, 0.13.0 & 0.14.1 are supported by @aherrmann in #485
- chore(deps): update dependency rules_cc to v0.2.0 by @renovate[bot] in #479
- chore(deps): update dependency rules_python to v1.5.3 by @renovate[bot] in #487
- chore(deps): update dependency gazelle to v0.45.0 by @renovate[bot] in #486
- chore(deps): update dependency aspect_bazel_lib to v2.21.1 by @renovate[bot] in #471
- feat!: drop Bazel 7 support, Bazel 8 supported by @aherrmann in #488
- chore(deps): update actions/checkout action to v5 by @renovate[bot] in #489
- feat: rename
zig_librarytozig_static_libraryby @aherrmann in #491 - chore: BCR app config add GitHub user ID by @aherrmann in #493
- chore: fix release automation by @aherrmann in #494
Full Changelog: v0.9.0...v0.10.0