Skip to content

Commit 3b54337

Browse files
Replace exec_tools with tools in bazel genrule. (#77510)
As of the Bazel 6.x series, there is no difference between the `exec_tools` and `tools`. Bazel 7 removes the `exec_tools` attribute entirely. This commit updates to use the cannonical attribute name to allow building `clang-tidy``with bazel 7.0.0, though it does not change the default bazel version which remains at 6.1.2. See also bazelbuild/bazel#19132 for more information.
1 parent c6a6547 commit 3b54337

File tree

1 file changed

+1
-1
lines changed
  • utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy

1 file changed

+1
-1
lines changed

utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ genrule(
5757
srcs = ["misc/ConfusableTable/confusables.txt"],
5858
outs = ["Confusables.inc"],
5959
cmd = "$(location :confusable_table_builder) $(SRCS) $(OUTS)",
60-
exec_tools = [":confusable_table_builder"],
60+
tools = [":confusable_table_builder"],
6161
visibility = ["//visibility:private"],
6262
)
6363

0 commit comments

Comments
 (0)