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 b3f28a7
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,18 @@ http_archive(
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.25.1/rules_rust-v0.25.1.tar.gz"],
)

HERMETIC_CC_TOOLCHAIN_VERSION = "v2.0.0"

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/{0}/hermetic_cc_toolchain-v2.0.0.tar.gz",
"https://github.com/uber/hermetic_cc_toolchain/releases/download/{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 b3f28a7

Please sign in to comment.