Skip to content

Commit

Permalink
Replace cfg = "host" with cfg = "exec" (bazel-contrib#3404)
Browse files Browse the repository at this point in the history
Become compatible with
`--incompatible_disable_starlark_host_transitions`, which will be
flipped in Bazel 7.

bazelbuild/bazel#17032
  • Loading branch information
fmeum authored and healthy-pod committed Feb 22, 2023
1 parent f6a5c7d commit caa36b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extras/bindata.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ bindata = rule(
"extra_args": attr.string_list(),
"_bindata": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = "@com_github_kevinburke_go_bindata//go-bindata:go-bindata",
),
"_go_context_data": attr.label(
Expand Down
2 changes: 1 addition & 1 deletion extras/embed_data.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ go_embed_data = rule(
"_embed": attr.label(
default = "//go/tools/builders:embed",
executable = True,
cfg = "host",
cfg = "exec",
),
"_go_context_data": attr.label(
default = "//:go_context_data",
Expand Down

0 comments on commit caa36b9

Please sign in to comment.