Skip to content

Commit

Permalink
fix: replace cfg = "host" with cfg = "exec" (#2637)
Browse files Browse the repository at this point in the history
This is a no-op cleanup, 'host' is being renamed to 'exec', see: https://togithub.com/bazelbuild/bazel/issues/17032

Fixes #2514 ☕️
  • Loading branch information
cushon authored Apr 22, 2024
1 parent 5dadd4c commit 6d673f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gax-java/gax_java.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ google_java_format_verification = rule(
"srcs": attr.label_list(allow_files = True),
"formatter": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
),
},
outputs = {"output_file": "%{name}.txt"},
Expand Down
4 changes: 2 additions & 2 deletions rules_java_gapic/java_gapic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ _java_gapic_postprocess_srcjar = rule(
"formatter": attr.label(
default = Label("//:google_java_format_binary"),
executable = True,
cfg = "host",
cfg = "exec",
),
},
outputs = {
Expand Down Expand Up @@ -152,7 +152,7 @@ _java_gapic_samples_srcjar = rule(
"formatter": attr.label(
default = Label("//:google_java_format_binary"),
executable = True,
cfg = "host",
cfg = "exec",
),
},
outputs = {
Expand Down

0 comments on commit 6d673f3

Please sign in to comment.