Bazel is moving rule definitions out of bazel itself. This means language rule specific things will, eventually, be removed from @bazel_tool.
More specifically:
@bazel_tools//tools/cpp:toolchain_type
should be changed to
@rules_cc//cc:toolchain_type
(Right now, the rules_cc is a simple alias to the bazel_tools one. Eventually it'll be transitioned)
Such references exist in this file: https://github.com/google-ml-infra/rules_ml_toolchain/blob/main/cc/BUILD#L43
Bazel is moving rule definitions out of bazel itself. This means language rule specific things will, eventually, be removed from
@bazel_tool.More specifically:
@bazel_tools//tools/cpp:toolchain_typeshould be changed to
@rules_cc//cc:toolchain_type(Right now, the rules_cc is a simple alias to the bazel_tools one. Eventually it'll be transitioned)
Such references exist in this file: https://github.com/google-ml-infra/rules_ml_toolchain/blob/main/cc/BUILD#L43