Repository: kythe/kythe (language: rust)

Issue:
Remove use of genrule.exec_tools
The `exec_tools` attribute on `genrule` is semantically identical to `tools` and will be removed. Please replace usage of `exec_tools` with `tools`.

Part of https://github.com/bazelbuild/bazel/issues/19132


Discussion / hints:

Fix patch:
diff --git a/tools/build_rules/lexyacc/lexyacc.bzl b/tools/build_rules/lexyacc/lexyacc.bzl
index 21b8c12a8c..ddfc39f0d1 100644
--- a/tools/build_rules/lexyacc/lexyacc.bzl
+++ b/tools/build_rules/lexyacc/lexyacc.bzl
@@ -16,7 +16,7 @@ def genlex(name, src, out, includes = []):
         srcs = [src] + includes,
         cmd = cmd,
         toolchains = ["@io_kythe//tools/build_rules/lexyacc:current_lexyacc_toolchain"],
-        exec_tools = ["@io_kythe//tools/build_rules/lexyacc:current_lexyacc_toolchain"],
+        tools = ["@io_kythe//tools/build_rules/lexyacc:current_lexyacc_toolchain"],
     )
 
 def genyacc(name, src, header_out, source_out, extra_outs = []):
@@ -36,7 +36,7 @@ def genyacc(name, src, header_out, source_out, extra_outs = []):
         srcs = [src],
         cmd = cmd,
         toolchains = ["@io_kythe//tools/build_rules/lexyacc:current_lexyacc_toolchain"],
-        exec_tools = ["@io_kythe//tools/build_rules/lexyacc:current_lexyacc_toolchain"],
+        tools = ["@io_kythe//tools/build_rules/lexyacc:current_lexyacc_toolchain"],
     )
 
 LexYaccInfo = provider(


Test patch: