We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa5c17 commit 5e51126Copy full SHA for 5e51126
scala_proto/private/scalapb_aspect.bzl
@@ -246,10 +246,11 @@ scalapb_aspect = aspect(
246
attrs = {
247
"_protoc": attr.label(
248
executable = True,
249
- cfg = "host",
+ cfg = "exec",
250
default = "@com_google_protobuf//:protoc",
251
),
252
},
253
+ incompatible_use_toolchain_transition = True,
254
toolchains = [
255
"@io_bazel_rules_scala//scala:toolchain_type",
256
"@io_bazel_rules_scala//scala_proto:toolchain_type",
scala_proto/scala_proto_toolchain.bzl
@@ -77,5 +77,6 @@ export_scalapb_toolchain_deps = rule(
77
mandatory = True,
78
79
80
81
toolchains = ["@io_bazel_rules_scala//scala_proto:deps_toolchain_type"],
82
)
0 commit comments