Skip to content

Commit

Permalink
Update to be removed "host" cfg to "exec" (#1462)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaidas Pilkauskas authored Jan 10, 2023
1 parent c96948c commit a0235fd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion jmh/jmh.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ scala_generate_benchmark = rule(
),
"_generator": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = Label(
"//src/scala/io/bazel/rules_scala/jmh_support:benchmark_generator",
),
Expand Down
8 changes: 4 additions & 4 deletions scala/private/common_attributes.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,20 @@ common_attrs.update({
default = "@io_bazel_rules_scala//src/java/io/bazel/rulesscala/coverage/instrumenter",
allow_files = True,
executable = True,
cfg = "host",
cfg = "exec",
),
})

implicit_deps = {
"_singlejar": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = Label("@bazel_tools//tools/jdk:singlejar"),
allow_files = True,
),
"_zipper": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = Label("@bazel_tools//tools/zip:zipper"),
allow_files = True,
),
Expand All @@ -104,7 +104,7 @@ implicit_deps = {
),
"_exe": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = Label("@io_bazel_rules_scala//src/java/io/bazel/rulesscala/exe:exe"),
),
}
Expand Down
2 changes: 1 addition & 1 deletion scala/private/rules/scala_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ _scala_test_attrs = {
),
),
"_scalatest_runner": attr.label(
cfg = "host",
cfg = "exec",
default = Label("//src/java/io/bazel/rulesscala/scala_test:runner"),
),
"_scalatest_reporter": attr.label(
Expand Down
2 changes: 1 addition & 1 deletion scala/scalafmt/phase_scalafmt_ext.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ext_scalafmt = {
doc = "Switch of enabling formatting.",
),
"_fmt": attr.label(
cfg = "host",
cfg = "exec",
default = "//scala/scalafmt",
executable = True,
),
Expand Down

0 comments on commit a0235fd

Please sign in to comment.