Skip to content

Commit

Permalink
Use incompatible_use_toolchain_transition
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaidas Pilkauskas committed Oct 16, 2020
1 parent 7aa5c17 commit 5e51126
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scala_proto/private/scalapb_aspect.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,11 @@ scalapb_aspect = aspect(
attrs = {
"_protoc": attr.label(
executable = True,
cfg = "host",
cfg = "exec",
default = "@com_google_protobuf//:protoc",
),
},
incompatible_use_toolchain_transition = True,
toolchains = [
"@io_bazel_rules_scala//scala:toolchain_type",
"@io_bazel_rules_scala//scala_proto:toolchain_type",
Expand Down
1 change: 1 addition & 0 deletions scala_proto/scala_proto_toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ export_scalapb_toolchain_deps = rule(
mandatory = True,
),
},
incompatible_use_toolchain_transition = True,
toolchains = ["@io_bazel_rules_scala//scala_proto:deps_toolchain_type"],
)

0 comments on commit 5e51126

Please sign in to comment.