Skip to content

Commit

Permalink
chore: upgrade old named bazel-zig-cc v0.9.2 to new named hermetic-cc…
Browse files Browse the repository at this point in the history
…-toolchains v2.0.0
  • Loading branch information
opicaud committed Jul 27, 2023
1 parent 9ee0d74 commit f8319dc
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ http_archive(
)

http_archive(
name = "bazel-zig-cc",
sha256 = "73afa7e1af49e3dbfa1bae9362438cdc51cb177c359a6041a7a403011179d0b5",
strip_prefix = "bazel-zig-cc-v0.9.2",
urls = ["https://git.sr.ht/~motiejus/bazel-zig-cc/archive/v0.9.2.tar.gz"]
name = "hermetic_cc_toolchain",
sha256 = "57f03a6c29793e8add7bd64186fc8066d23b5ffd06fe9cc6b0b8c499914d3a65",
urls = [
"https://mirror.bazel.build/github.com/uber/hermetic_cc_toolchain/releases/download/v2.0.0/hermetic_cc_toolchain-v2.0.0.tar.gz",
"https://github.com/uber/hermetic_cc_toolchain/releases/download/v2.0.0/hermetic_cc_toolchain-v2.0.0.tar.gz",
],
)

load("@bazel-zig-cc//toolchain:defs.bzl", zig_toolchains = "toolchains")
load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains")

zig_toolchains()

Expand Down

0 comments on commit f8319dc

Please sign in to comment.