Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Jan 13:29
· 579 commits to main since this release

Using Bzlmod with Bazel >=6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "rules_zig", version = "0.2.0")

Using WORKSPACE

Paste this snippet into your WORKSPACE.bazel file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_zig",
    sha256 = "df01689593b39960cf67a9ca964e986b76e5d16b7548c45f84f0b5ad221050a7",
    strip_prefix = "rules_zig-0.2.0",
    url = "https://github.com/aherrmann/rules_zig/releases/download/v0.2.0/rules_zig-0.2.0.tar.gz",
)

###################
# rules_zig setup #
###################
# Fetches the rules_zig dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@rules_zig//zig:repositories.bzl", "rules_zig_dependencies", "zig_register_toolchains")

rules_zig_dependencies()

zig_register_toolchains(
    name = "zig",
    zig_version = "0.11.0",
)

What's Changed

  • chore(deps): update dependency rules_python to v0.27.1 by @renovate in #145
  • chore(deps): update dependency rules_python to v0.27.1 by @renovate in #147
  • chore(deps): update dependency aspect_bazel_lib to v2.0.2 by @renovate in #149
  • chore(deps): update dependency aspect_bazel_lib to v2.0.3 by @renovate in #150
  • chore(deps): update dependency aspect_bazel_lib to v2.0.3 by @renovate in #151
  • fix: Zig update - don't require requests by @aherrmann in #152
  • chore(deps): update dependency buildifier_prebuilt to v6.4.0 by @renovate in #153
  • chore(deps): update dependency buildifier_prebuilt to v6.4.0 by @renovate in #154
  • chore(deps): update dependency cgrindel_bazel_starlib to v0.19.0 by @renovate in #155
  • chore(deps): update dependency io_bazel_rules_go to v0.44.0 by @renovate in #156
  • chore(deps): update dependency bazel_gazelle to v0.35.0 by @renovate in #157
  • chore(deps): update dependency gazelle to v0.35.0 by @renovate in #158
  • chore(deps): update dependency aspect_bazel_lib to v2.1.0 by @renovate in #159
  • chore(deps): update dependency aspect_bazel_lib to v2.1.0 by @renovate in #160
  • feat: Support linking against static libraries by @aherrmann in #163
  • test: static library linking behavior by @aherrmann in #166
  • feat: Support C header imports by @aherrmann in #167
  • feat: Enable libc/libc++ linking to expose system headers by @aherrmann in #168
  • feat: Support ABI selection and transition by @aherrmann in #169
  • chore(deps): update dependency io_bazel_rules_go to v0.44.1 by @renovate in #170
  • fix: correctly forward defines on cc_library cdeps by @aherrmann in #171
  • fix: construct isystem arguments correctly by @aherrmann in #175
  • chore: Update to Bazel version 7.0.0 by @aherrmann in #177
  • feat: Support custom dynamic linker by @aherrmann in #176
  • feat: Support linking against shared libraries by @aherrmann in #165
  • fix: collect cdeps data dependencies by @aherrmann in #183
  • feat: support location and make variable expansion by @aherrmann in #184
  • chore(deps): update dependency aspect_bazel_lib to v2.1.0 by @renovate in #185

Full Changelog: v0.1.0...v0.2.0