Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: switch tools from host to exec cfg #1

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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