From 2d657b9afcbf90eecb71e6c8eab424fa4c6c8dbe Mon Sep 17 00:00:00 2001 From: Carbo Kuo Date: Wed, 13 Nov 2024 11:05:18 -0500 Subject: [PATCH] Remove the explicit dependency on rules_cc. (#235) In general, `cc_library` and `cc_test` do not need an explicit load. By removing it, we can remove the explicit dependency to `rules_cc` in `MODULE.bazel`. This makes the dependency management easier. Nothing should be broken by this change. --- BUILD | 2 -- MODULE.bazel | 2 -- 2 files changed, 4 deletions(-) diff --git a/BUILD b/BUILD index 8c2eee56..939ca12a 100644 --- a/BUILD +++ b/BUILD @@ -1,7 +1,5 @@ # Bazel(http://bazel.io) BUILD file -load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") - licenses(["notice"]) exports_files(["LICENSE"]) diff --git a/MODULE.bazel b/MODULE.bazel index 2192e7fb..cfda2966 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -5,5 +5,3 @@ module( version = "3.3.0", compatibility_level = 3, ) - -bazel_dep(name = "rules_cc", version = "0.0.13")