[docs] Update cc-toolchain-config-reference to point to rules_cc
Depends on https://github.com/bazelbuild/rules_cc/pull/52
Closes #10340.
PiperOrigin-RevId: 295716801
diff --git a/site/docs/cc-toolchain-config-reference.md b/site/docs/cc-toolchain-config-reference.md
index 5aefb41..1ed09d5 100644
--- a/site/docs/cc-toolchain-config-reference.md
+++ b/site/docs/cc-toolchain-config-reference.md
@@ -41,7 +41,7 @@
You can create the `CcToolchainConfigInfo` by calling
[`cc_common.create_cc_toolchain_config_info()`](skylark/lib/cc_common.html#create_cc_toolchain_config_info).
You can find Starlark constructors for all structs you'll need in the process in
-[`@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl`](https://source.bazel.build/bazel/+/1d205e14e4c069e9199ab71b127c6a6e26a9443b:tools/cpp/cc_toolchain_config_lib.bzl).
+[`@rules_cc//cc:cc_toolchain_config_lib.bzl`](https://github.com/bazelbuild/rules_cc/blob/master/cc/cc_toolchain_config_lib.bzl).
When a C++ target enters the analysis phase, Bazel selects the appropriate
@@ -479,7 +479,7 @@
With Bazel, this process can instead be implemented as follows, with
`unbundle-debuginfo` being a Bazel action:
- load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES")
+ load("@rules_cc//cc:defs.bzl", "ACTION_NAMES")
action_configs = [
action_config (
@@ -523,7 +523,7 @@
implementation for `fission`-based debug symbol generation might look as
follows:
- load("@bazel_tools//tools/build_defs/cc:action_names.bzl", "ACTION_NAMES")
+ load("@rules_cc//cc:defs.bzl", "ACTION_NAMES")
action_configs = [
action_config (