Skip to content

v0.12.1

Choose a tag to compare

@github-actions github-actions released this 10 Oct 06:36
· 14 commits to main since this release
d25909e

Setup Instructions

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

bazel_dep(name = "rules_zig", version = "0.12.1")

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

  • docs: add readme links to extension and toolchain docs by @aherrmann in #548
  • chore(deps): update dependency rules_bazel_integration_test to v0.34.0 by @renovate[bot] in #549
  • chore(deps): update dependency rules_cc to v0.2.9 by @renovate[bot] in #551
  • chore(deps): update dependency bazel_features to v1.37.0 by @renovate[bot] in #552
  • feat: expose rpaths of zig toolchain zig exe and lib by @cerisier in #553
  • feat: expose module name in module context of ZigModuleInfo by @cerisier in #554

Full Changelog: v0.12.0...v0.12.1