diff --git a/rust/toolchain.bzl b/rust/toolchain.bzl index 3640e99fb3..20f32977ef 100644 --- a/rust/toolchain.bzl +++ b/rust/toolchain.bzl @@ -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, @@ -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"), ),