From 765fd04587e479f83405ed91db9d3fe6de11b348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 23 Apr 2023 21:54:00 +0300 Subject: [PATCH] README: bring the compat name of http_archive #40 The recent repository rename broke the assumption about the repository name. We will soon (hopefully next week) release v2 with all the occurrences of `bazel-zig-cc` removed, and all of this will be over. Sorry for the confusion/mess until that happens. Fixes #39 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2c33d14..1e530d1 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Add this to your `WORKSPACE`: HERMETIC_CC_TOOLCHAIN_VERSION = "v1.0.1" http_archive( - name = "hermetic_cc_toolchain", + name = "bazel-zig-cc", sha256 = "e9f82bfb74b3df5ca0e67f4d4989e7f1f7ce3386c295fd7fda881ab91f83e509", strip_prefix = "bazel-zig-cc-{}".format(HERMETIC_CC_TOOLCHAIN_VERSION), urls = [ @@ -50,7 +50,7 @@ http_archive( ], ) -load("@hermetic_cc_toolchain//toolchain:defs.bzl", zig_toolchains = "toolchains") +load("@bazel-zig-cc//toolchain:defs.bzl", zig_toolchains = "toolchains") # version, url_formats and host_platform_sha256 are optional for those who # want to control their Zig SDK version.