v2.1.0
Pre-release
Pre-release
This is the first version where hermetic_cc_toolchain becomes a Bazel module.
What's Changed
- rules:cp : make reproducible by @motiejus in #87
- UBSAN: strip paths by @motiejus in #90
- tests: remove almost all mentions of glibc 2.19 by @motiejus in #101
- Enable bzlmod by @dstufft in #96
- Upgrade zig to 0.11.0 by @linzhp in #111
New Contributors
Full Changelog: v2.0.0...v2.1.0
WORKSPACE snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
HERMETIC_CC_TOOLCHAIN_VERSION = "v2.1.0"
http_archive(
name = "hermetic_cc_toolchain",
sha256 = "892b0dd7aa88c3504a8821e65c44fd22f32c16afab12d89e9942fff492720b37",
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()