From e1c7fed92ffba1e1d391f8a41fa01eeceb8e2898 Mon Sep 17 00:00:00 2001 From: XNNPACK Team Date: Thu, 1 Jul 2021 08:44:23 -0700 Subject: [PATCH] Update reference to rules_cc to main.zip. This is required by https://github.com/bazelbuild/rules_cc/issues/107 The longer term solution is: - To use a named release of rules_cc once that is available (See https://github.com/bazelbuild/rules_cc/issues/91) - Wrap the `http_archive` rules with `maybe` so that there will not be conflicts if downstream users try to mix rules_cc versions. PiperOrigin-RevId: 382531776 --- WORKSPACE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WORKSPACE b/WORKSPACE index 4fa1aa2f6b4..eb15754021f 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -6,7 +6,7 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_cc", strip_prefix = "rules_cc-master", - urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip"], + urls = ["https://github.com/bazelbuild/rules_cc/archive/main.zip"], ) # Google Test framework, used by most unit-tests.