Skip to content

v2.1.3

Compare
Choose a tag to compare
released this 09 Nov 13:38
· 74 commits to main since this release

Highlights

Upgrading is highly recommended for MacOS, as #125 solves many issues due to lack of hermeticity when compiling the zig launcher.

What's Changed

  • Strip the zig-builder binary for reproducibility by @dzbarsky in #124
  • zig-wrapper: compile with explicit -target by @motiejus-wix in #125

New Contributors

  • @dzbarsky made their first contribution in #124
  • @motiejus-wix made their first contribution in #125

Full Changelog: v2.1.2...v2.1.3

WORKSPACE snippet

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

HERMETIC_CC_TOOLCHAIN_VERSION = "v2.1.3"

http_archive(
    name = "hermetic_cc_toolchain",
    sha256 = "a5caccbf6d86d4f60afd45b541a05ca4cc3f5f523aec7d3f7711e584600fb075",
    urls = [
        "https://mirror.bazel.build/github.com/uber/hermetic_cc_toolchain/releases/download/{0}/hermetic_cc_toolchain-{0}.tar.gz".format(HERMETIC_CC_TOOLCHAIN_VERSION),
        "https://github.com/uber/hermetic_cc_toolchain/releases/download/{0}/hermetic_cc_toolchain-{0}.tar.gz".format(HERMETIC_CC_TOOLCHAIN_VERSION),
    ],
)

load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains")

# Plain zig_toolchains() will pick reasonable defaults. See
# toolchain/defs.bzl:toolchains on how to change the Zig SDK version and
# download URL.
zig_toolchains()