1# Toolchain rules 2This directory contains a suite of rules for defining C/C++ toolchain 3configurations. 4 5For a living example, see 6[`//examples/rule_based_toolchain`](https://github.com/bazelbuild/rules_cc/tree/main/examples/rule_based_toolchain/). 7For the full API, see [`//third_party/bazel_rules/docs:toolchain_api.md`](https://github.com/bazelbuild/rules_cc/tree/main/docs/toolchain_api.md). 8