Skip to content

Commit

Permalink
Remove the explicit dependency on rules_cc. (#235)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
BYVoid authored Nov 13, 2024
1 parent c200fa2 commit 2d657b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
@@ -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"])
Expand Down
2 changes: 0 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ module(
version = "3.3.0",
compatibility_level = 3,
)

bazel_dep(name = "rules_cc", version = "0.0.13")

0 comments on commit 2d657b9

Please sign in to comment.