diff --git a/def.bzl b/def.bzl index afba7e429..7912bafd0 100644 --- a/def.bzl +++ b/def.bzl @@ -130,7 +130,7 @@ _gazelle_runner = rule( allow_single_file = True, default = "//cmd/gazelle", executable = True, - cfg = "exec", + cfg = "target", ), "command": attr.string( values = [