Skip to content

Commit 313beb5

Browse files
Update zig to latest master release
1 parent 470ea6d commit 313beb5

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

WORKSPACE

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,23 @@ http_archive(
2727

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

30-
zig_toolchains()
30+
# Temporarily use a nightly build until 0.12.0 is released.
31+
# See: https://github.com/prysmaticlabs/prysm/issues/13130
32+
zig_toolchains(
33+
host_platform_sha256 = {
34+
"linux-aarch64": "45afb8e32adde825165f4f293fcea9ecea503f7f9ec0e9bf4435afe70e67fb70",
35+
"linux-x86_64": "f136c6a8a0f6adcb057d73615fbcd6f88281b3593f7008d5f7ed514ff925c02e",
36+
"macos-aarch64": "05d995853c05243151deff47b60bdc2674f1e794a939eaeca0f42312da031cee",
37+
"macos-x86_64": "721754ba5a50f31e8a1f0e1a74cace26f8246576878ac4a8591b0ee7b6db1fc1",
38+
"windows-x86_64": "93f5248b2ea8c5ee8175e15b1384e133edc1cd49870b3ea259062a2e04164343",
39+
},
40+
url_formats = [
41+
"https://ziglang.org/builds/zig-{host_platform}-{version}.{_ext}",
42+
"https://mirror.bazel.build/ziglang.org/builds/zig-{host_platform}-{version}.{_ext}",
43+
"https://prysmaticlabs.com/mirror/ziglang.org/builds/zig-{host_platform}-{version}.{_ext}",
44+
],
45+
version = "0.12.0-dev.1349+fa022d1ec",
46+
)
3147

3248
# Register zig sdk toolchains with support for Ubuntu 20.04 (Focal Fossa) which has an EOL date of April, 2025.
3349
# For ubuntu glibc support, see https://launchpad.net/ubuntu/+source/glibc

0 commit comments

Comments
 (0)