Save the Date: BazelCon 2023 will be held October 24-25 at Google Munich! Learn more

rule

Report an issue View source

A callable value representing the type of a native or Starlark rule. Calling the value during evaluation of a package's BUILD file creates an instance of the rule and adds it to the package's target set. For more information, visit this page aboutRules.