Skip to content

Commit

Permalink
fix: switch tools from host to exec cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
peakschris authored and albertocavalcante committed Jul 30, 2024
1 parent 89a29cc commit cf21bd1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion antlr/antlr2.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ compile.
"traceTreeParser": attr.bool(default = False, doc = "Have tree walker rules call traceIn/traceOut."),
"_tool": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = Label("@rules_antlr//src/main/java/org/antlr/bazel"),
),
},
Expand Down
2 changes: 1 addition & 1 deletion antlr/antlr3.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ dependencies here.
"Xwatchconversion": attr.bool(default = False, doc = "Don't delete temporary lexers generated from combined grammars."),
"_tool": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = Label("@rules_antlr//src/main/java/org/antlr/bazel"),
),
},
Expand Down
2 changes: 1 addition & 1 deletion antlr/antlr4.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ you need to use a different version, you can specify the dependencies here.
"visitor": attr.bool(default = False, doc = "Generate parse tree visitor."),
"_tool": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = Label("@rules_antlr//src/main/java/org/antlr/bazel"),
),
},
Expand Down

0 comments on commit cf21bd1

Please sign in to comment.