Skip to content

v0.12.2

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Oct 07:56
· 1 commit to main since this release
41c4a75

Setup Instructions

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

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

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

  • feat: support headers provided by the CC toolchain in translate_c by @cerisier in #557
  • fix: transition shared-library instead of static-library by @cerisier in #559
  • fix: mark the intermediary archive of shared libraries as alwayslink by @cerisier in #558
  • chore(deps): update dependency rules_cc to v0.2.11 by @renovate[bot] in #560
  • feat: add support for global zigopt setting by @cerisier in #561

Full Changelog: v0.12.1...v0.12.2