File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ Add this to your `WORKSPACE`:
3636```
3737load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
3838
39- HERMETIC_CC_TOOLCHAIN_VERSION = "v2.0.0-rc1 "
39+ HERMETIC_CC_TOOLCHAIN_VERSION = "v2.0.0-rc2 "
4040
4141http_archive(
4242 name = "hermetic_cc_toolchain",
43- sha256 = "43a1b398f08109c4f03b9ba2b3914bd43d1fec0425f71b71f802bf3f78cee0c2 ",
43+ sha256 = "40dff82816735e631e8bd51ede3af1c4ed1ad4646928ffb6a0e53e228e55738c ",
4444 urls = [
4545 "https://mirror.bazel.build/github.com/uber/hermetic_cc_toolchain/releases/download/{0}/hermetic_cc_toolchain-{0}.tar.gz".format(HERMETIC_CC_TOOLCHAIN_VERSION),
4646 "https://github.com/uber/hermetic_cc_toolchain/releases/download/{0}/hermetic_cc_toolchain-{0}.tar.gz".format(HERMETIC_CC_TOOLCHAIN_VERSION),
@@ -49,6 +49,9 @@ http_archive(
4949
5050load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains")
5151
52+ # Plain zig_toolchains() will pick reasonable defaults. See
53+ # toolchain/defs.bzl:toolchains on how to change the Zig SDK version and
54+ # download URL.
5255zig_toolchains()
5356```
5457
Original file line number Diff line number Diff line change 33
44load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
55
6- HERMETIC_CC_TOOLCHAIN_VERSION = "v2.0.0-rc1 "
6+ HERMETIC_CC_TOOLCHAIN_VERSION = "v2.0.0-rc2 "
77
88http_archive (
99 name = "hermetic_cc_toolchain" ,
10- sha256 = "43a1b398f08109c4f03b9ba2b3914bd43d1fec0425f71b71f802bf3f78cee0c2 " ,
10+ sha256 = "40dff82816735e631e8bd51ede3af1c4ed1ad4646928ffb6a0e53e228e55738c " ,
1111 urls = [
1212 "https://mirror.bazel.build/github.com/uber/hermetic_cc_toolchain/releases/download/{0}/hermetic_cc_toolchain-{0}.tar.gz" .format (HERMETIC_CC_TOOLCHAIN_VERSION ),
1313 "https://github.com/uber/hermetic_cc_toolchain/releases/download/{0}/hermetic_cc_toolchain-{0}.tar.gz" .format (HERMETIC_CC_TOOLCHAIN_VERSION ),
@@ -16,6 +16,9 @@ http_archive(
1616
1717load ("@hermetic_cc_toolchain//toolchain:defs.bzl" , zig_toolchains = "toolchains" )
1818
19+ # Plain zig_toolchains() will pick reasonable defaults. See
20+ # toolchain/defs.bzl:toolchains on how to change the Zig SDK version and
21+ # download URL.
1922zig_toolchains ()
2023
2124register_toolchains (
You can’t perform that action at this time.
0 commit comments