Skip to content

Commit a0235fd

Browse files
authored
Update to be removed "host" cfg to "exec" (#1462)
1 parent c96948c commit a0235fd

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

jmh/jmh.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ scala_generate_benchmark = rule(
6262
),
6363
"_generator": attr.label(
6464
executable = True,
65-
cfg = "host",
65+
cfg = "exec",
6666
default = Label(
6767
"//src/scala/io/bazel/rules_scala/jmh_support:benchmark_generator",
6868
),

scala/private/common_attributes.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,20 @@ common_attrs.update({
7676
default = "@io_bazel_rules_scala//src/java/io/bazel/rulesscala/coverage/instrumenter",
7777
allow_files = True,
7878
executable = True,
79-
cfg = "host",
79+
cfg = "exec",
8080
),
8181
})
8282

8383
implicit_deps = {
8484
"_singlejar": attr.label(
8585
executable = True,
86-
cfg = "host",
86+
cfg = "exec",
8787
default = Label("@bazel_tools//tools/jdk:singlejar"),
8888
allow_files = True,
8989
),
9090
"_zipper": attr.label(
9191
executable = True,
92-
cfg = "host",
92+
cfg = "exec",
9393
default = Label("@bazel_tools//tools/zip:zipper"),
9494
allow_files = True,
9595
),
@@ -104,7 +104,7 @@ implicit_deps = {
104104
),
105105
"_exe": attr.label(
106106
executable = True,
107-
cfg = "host",
107+
cfg = "exec",
108108
default = Label("@io_bazel_rules_scala//src/java/io/bazel/rulesscala/exe:exe"),
109109
),
110110
}

scala/private/rules/scala_test.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ _scala_test_attrs = {
7070
),
7171
),
7272
"_scalatest_runner": attr.label(
73-
cfg = "host",
73+
cfg = "exec",
7474
default = Label("//src/java/io/bazel/rulesscala/scala_test:runner"),
7575
),
7676
"_scalatest_reporter": attr.label(

scala/scalafmt/phase_scalafmt_ext.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ext_scalafmt = {
1919
doc = "Switch of enabling formatting.",
2020
),
2121
"_fmt": attr.label(
22-
cfg = "host",
22+
cfg = "exec",
2323
default = "//scala/scalafmt",
2424
executable = True,
2525
),

0 commit comments

Comments
 (0)