Skip to content

Commit f8f1a5c

Browse files
authored
Replace cfg = "host" with cfg = "exec" (#3404)
Become compatible with `--incompatible_disable_starlark_host_transitions`, which will be flipped in Bazel 7. bazelbuild/bazel#17032
1 parent c579801 commit f8f1a5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

extras/bindata.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ bindata = rule(
7676
"extra_args": attr.string_list(),
7777
"_bindata": attr.label(
7878
executable = True,
79-
cfg = "host",
79+
cfg = "exec",
8080
default = "@com_github_kevinburke_go_bindata//go-bindata:go-bindata",
8181
),
8282
"_go_context_data": attr.label(

extras/embed_data.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ go_embed_data = rule(
135135
"_embed": attr.label(
136136
default = "//go/tools/builders:embed",
137137
executable = True,
138-
cfg = "host",
138+
cfg = "exec",
139139
),
140140
"_go_context_data": attr.label(
141141
default = "//:go_context_data",

0 commit comments

Comments
 (0)