Skip to content

Commit

Permalink
Fixed missing cc_toolchain issues for rust_doc rules (bazelbuild#…
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre authored and ddeville committed Nov 22, 2021
1 parent 463051e commit f04baac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rust/private/rustdoc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,13 @@ rust_doc = rule(
),
},
fragments = ["cpp"],
host_fragments = ["cpp"],
outputs = {
"rust_doc_zip": "%{name}.zip",
},
toolchains = [str(Label("//rust:toolchain"))],
toolchains = [
str(Label("//rust:toolchain")),
"@bazel_tools//tools/cpp:toolchain_type",
],
incompatible_use_toolchain_transition = True,
)

0 comments on commit f04baac

Please sign in to comment.