rules_cc/examples/rule_based_toolchain
..
constraint
dynamic_answer
static_answer
toolchain
.bazelrc
.bazelversion
BUILD.bazel
MODULE.bazel
README.md
quick_test.cc

README.md

Rule-based toolchains

This example showcases a fully working rule-based toolchain for Linux. This also serves as an integration test to ensure rule-based toolchains continue to work as intended.

The complete toolchain configuration lives here.

Trying the example

From this directory, you can run example tests that build using this toolchain with the following command:

$ bazel test //...

This example currently only supports Linux.