From 8401429e749a4b351dd7ad49bd404e7eff69f557 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Teodor=20Sp=C3=A6ren?= <teodor_spaeren@riseup.net>
Date: Sun, 14 Nov 2021 13:02:58 +0100
Subject: [PATCH] Remove bazelbuild/rules_cc dependency (#1283)

It seems according to [1] that bazelbuild/rules_cc has been put on hold
and that the recommended way for now, is to use the native cc rules.

[1]: https://github.com/bazelbuild/rules_go/pull/2950
---
 BUILD.bazel | 2 --
 WORKSPACE   | 7 -------
 2 files changed, 9 deletions(-)

diff --git a/BUILD.bazel b/BUILD.bazel
index b2ef33cc..904c691d 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -1,5 +1,3 @@
-load("@rules_cc//cc:defs.bzl", "cc_library")
-
 licenses(["notice"])
 
 config_setting(
diff --git a/WORKSPACE b/WORKSPACE
index 631f3ba0..0531d99d 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -2,13 +2,6 @@ workspace(name = "com_github_google_benchmark")
 
 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
-http_archive(
-    name = "rules_cc",
-    strip_prefix = "rules_cc-a508235df92e71d537fcbae0c7c952ea6957a912",
-    urls = ["https://github.com/bazelbuild/rules_cc/archive/a508235df92e71d537fcbae0c7c952ea6957a912.zip"],
-    sha256 = "d7dc12c1d5bc1a87474de8e3d17b7731a4dcebcfb8aa3990fe8ac7734ef12f2f",
-)
-
 http_archive(
     name = "com_google_absl",
     sha256 = "f41868f7a938605c92936230081175d1eae87f6ea2c248f41077c8f88316f111",