IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/ConstraintCollection

You can read about the migration, and let us know what you think.

Extensions > API reference > ConstraintCollection

ConstraintCollection

Provides access to data about a collection of ConstraintValueInfo providers.
Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with --experimental_platforms_api