From 7c1e02c1721601846876d4ef084b2307b2f014ac Mon Sep 17 00:00:00 2001 From: XNNPACK Team Date: Thu, 1 Jul 2021 08:11:28 -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: 382526074 --- WORKSPACE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WORKSPACE b/WORKSPACE index 4fa1aa2f6b45..eb15754021fb 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.