diff --git a/rust/toolchain.bzl b/rust/toolchain.bzl index 01fe2eaca3..7bd0dbad5d 100644 --- a/rust/toolchain.bzl +++ b/rust/toolchain.bzl @@ -663,7 +663,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, @@ -878,10 +877,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"), - ), "_codegen_units": attr.label( default = Label("//rust/settings:codegen_units"), ),