Skip to content

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 14:21
· 23 commits to main since this release
25c8801

Setup Instructions

Add the following to your MODULE.bazel file to install rules_zig:

bazel_dep(name = "rules_zig", version = "0.12.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.15.1")

You can call zig.toolchain multiple times to install multiple Zig versions.

Note, rules_zig requires bzlmod, WORKSPACE mode is no longer supported.

What's Changed

  • chore(deps): update dependency bazel_skylib_gazelle_plugin to v1.8.2 by @renovate[bot] in #546
  • chore(deps): update dependency bazel_skylib to v1.8.2 by @renovate[bot] in #545
  • feat!: rename zig_module to zig_library by @cerisier in #535
  • fix: avoid Zig 0.15.1 malformed archive issues by @aherrmann in #547
  • feat: support Zig mirrors by @cerisier in #543

Full Changelog: v0.11.0...v0.12.0