Skip to content

Commit

Permalink
Remove toolchain.crosstool_files and _cc_toolchains.
Browse files Browse the repository at this point in the history
Fixes #3115.
  • Loading branch information
katre committed Dec 17, 2024
1 parent b4d640d commit e5bea01
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rust/toolchain.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@ def _rust_toolchain_impl(ctx):
clippy_driver = sysroot.clippy,
cargo_clippy = sysroot.cargo_clippy,
compilation_mode_opts = compilation_mode_opts,
crosstool_files = ctx.files._cc_toolchain,
default_edition = ctx.attr.default_edition,
dylib_ext = ctx.attr.dylib_ext,
env = ctx.attr.env,
Expand Down Expand Up @@ -874,10 +873,6 @@ rust_toolchain = rule(
"For more details see: https://docs.bazel.build/versions/master/skylark/rules.html#configurations"
),
),
# TODO: #3115 - Remove this attribute.
"_cc_toolchain": attr.label(
default = Label("@bazel_tools//tools/cpp:current_cc_toolchain"),
),
"_experimental_use_coverage_metadata_files": attr.label(
default = Label("//rust/settings:experimental_use_coverage_metadata_files"),
),
Expand Down

0 comments on commit e5bea01

Please sign in to comment.