IMPORTANT: The Bazel docs have moved! Please update your bookmark to

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

Extensions > API reference > native_rule_transition


Represents a native transition that can be applied to a Starlark rule as an incoming edge. This is a valid value for cfg in rule() but not attr().