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
diff --git a/WORKSPACE b/WORKSPACE
index 4fa1aa2..eb15754 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -6,7 +6,7 @@
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.