v2.0.0
Top level
See https://github.com/uber/hermetic_cc_toolchain/releases/tag/v2.0.0-rc1 for changes since v1.0.1. If you are migrating from v1.0.1, this is worth a read.
Changelog since v2.0.0-rc1, which will be not repeated here: https://github.com/uber/hermetic_cc_toolchain/releases/tag/v2.0.0-rc2
Since v2.0.0-rc2:
- New command:
@zig_sdk//:tools/zig-wrapper
. It is a "zig" wrapper that sets cache and lib directories, which users are encouraged to use instead of@zig_sdk//:zig
, which is the plain Zig binary. --strip
is now respected.- Windows improvements:
bazel build ...
now works on Windows for this repository.- add Windows-specific aliases to commands in
@zig_sdk//:tools/*
Workspace snippet
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
HERMETIC_CC_TOOLCHAIN_VERSION = "v2.0.0"
http_archive(
name = "hermetic_cc_toolchain",
sha256 = "57f03a6c29793e8add7bd64186fc8066d23b5ffd06fe9cc6b0b8c499914d3a65",
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()
------------------------------------------------------------------------
What's Changed from v2.0.0-rc2
- releaser: fix pax artifacts by @motiejus in #67
- ci test_example with a release tarball by @motiejus in #66
- check-only mode, for v2.0.0-rc2 by @motiejus in #68
- zig sdk: mirror check by @motiejus in #69
- remove mailing-list-archive by @motiejus in #71
- README updates by @motiejus in #73
- [chore] dependency upgrades by @motiejus in #70
- bump zig sdk + simplify zig build workaround by @motiejus in #75
- launcher: rename to zig-wrapper + passthrough mode by @motiejus in #72
- ci/lint: also lint all zig files there by @motiejus in #78
- Add windows aliases by @motiejus in #79
- platform_binary: use our cp by @motiejus in #77
- Revert "platform_binary: use our cp" by @motiejus in #81
- update zig to 0.11.0-dev.3312+ab37ab33c by @motiejus in #82
- tests: windows fine tuning by @motiejus in #80
- Replace
cp
with zig implementation: v2 by @motiejus in #84
Full Changelog: v2.0.0-rc2...v2.0.0