Skip to content

Commit

Permalink
Remove crosstool files (#3118)
Browse files Browse the repository at this point in the history
Remove `toolchain.crosstool_files and _cc_toolchains`.
Fixes #3115.
  • Loading branch information
katre authored Dec 17, 2024
1 parent d832c6c commit 0e2fbbf
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 @@ -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,
Expand Down Expand Up @@ -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"),
),
Expand Down

0 comments on commit 0e2fbbf

Please sign in to comment.