Kleaf Canary

Setting --config=canary opts into future features of Kleaf and the DDK. Think of it as beta version where the Kleaf team enables features for early adopters that should be ok to use, but not yet for production.

Some of the features are experimental, most of them will be default in future releases and some of them might get discontinued.

As of now, --config=canary enables:

  • --toolchain_from_sources: Build (some) build time dependencies from sources, like toybox.

To opt-in a local workspace without having to pass the command line flag for every invocation, add to user.bazelrc:

# Opt into future features of Kleaf and the DDK.
build --config=canary