upgrade zig and bazel-zig-cc
This commit is contained in:
parent
1e74015da5
commit
3c883f1979
15
WORKSPACE
15
WORKSPACE
@ -59,11 +59,11 @@ load("@llvm_toolchain_with_sysroot//:toolchains.bzl", "llvm_register_toolchains"
|
||||
|
||||
### ZIG
|
||||
|
||||
BAZEL_ZIG_CC_VERSION = "00e126ec85cf8793b9d2e12d1db540c506bf781a"
|
||||
BAZEL_ZIG_CC_VERSION = "v1.0.0-rc4"
|
||||
|
||||
http_archive(
|
||||
name = "bazel-zig-cc",
|
||||
sha256 = "45c38497ea2f0ffabccc356cd9d69bdbbeb43f25481de63ab2018b17079eb80c",
|
||||
sha256 = "af784b604c08f385358113dc41e22736369a8ad09951fecf31dd13c35f4aaa62",
|
||||
strip_prefix = "bazel-zig-cc-{}".format(BAZEL_ZIG_CC_VERSION),
|
||||
urls = [
|
||||
"https://git.sr.ht/~motiejus/bazel-zig-cc/archive/{}.tar.gz".format(BAZEL_ZIG_CC_VERSION),
|
||||
@ -72,7 +72,16 @@ http_archive(
|
||||
|
||||
load("@bazel-zig-cc//toolchain:defs.bzl", zig_toolchains = "toolchains")
|
||||
|
||||
zig_toolchains()
|
||||
zig_toolchains(
|
||||
host_platform_sha256 = {
|
||||
"linux-aarch64": "b47358c3db3df92120e4659c86a653acbdb26fbeb11c97479b28634cbc68cd49",
|
||||
"linux-x86_64": "c24550551ac33b78d4f1534ae9dedde5a865c00d9de510e04c9e1e20e77ae18b",
|
||||
"macos-aarch64": "6fd768eab43dbc2bb3fae92b4c5c4ff538c90819b7c4fdf75bc4f6182d1745b3",
|
||||
"macos-x86_64": "5d227db2a9f89b46a940b229d93a53f5331923e676201f44322c1e2ceb62076f",
|
||||
"windows-x86_64": "b738ae6549d3a1fdefdd98d0e46fb638d1c5a8284e6c5320f72cbac97d202b37",
|
||||
},
|
||||
version = "0.11.0-dev.811+8ff9284c4",
|
||||
)
|
||||
|
||||
register_toolchains(
|
||||
# amd64 toolchains for libc-aware platforms:
|
||||
|
Loading…
Reference in New Issue
Block a user