Skip to content

Commit 6d673f3

Browse files
authored
fix: replace cfg = "host" with cfg = "exec" (#2637)
This is a no-op cleanup, 'host' is being renamed to 'exec', see: https://togithub.com/bazelbuild/bazel/issues/17032 Fixes #2514 ☕️
1 parent 5dadd4c commit 6d673f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gax-java/gax_java.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ google_java_format_verification = rule(
7777
"srcs": attr.label_list(allow_files = True),
7878
"formatter": attr.label(
7979
executable = True,
80-
cfg = "host",
80+
cfg = "exec",
8181
),
8282
},
8383
outputs = {"output_file": "%{name}.txt"},

rules_java_gapic/java_gapic.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ _java_gapic_postprocess_srcjar = rule(
9494
"formatter": attr.label(
9595
default = Label("//:google_java_format_binary"),
9696
executable = True,
97-
cfg = "host",
97+
cfg = "exec",
9898
),
9999
},
100100
outputs = {
@@ -152,7 +152,7 @@ _java_gapic_samples_srcjar = rule(
152152
"formatter": attr.label(
153153
default = Label("//:google_java_format_binary"),
154154
executable = True,
155-
cfg = "host",
155+
cfg = "exec",
156156
),
157157
},
158158
outputs = {

0 commit comments

Comments
 (0)