Skip to main content
Bazel Documentation home page
HEAD
English
Search...
⌘K
Ask AI
Module Registry
Blog
Github
Search...
Navigation
About Bazel
Getting started
User guide
Reference
Extending
Community
Concepts
Extension Overview
Writing rules
Rules Tutorial
Creating a Symbolic Macro
Creating a Legacy Macro
Using Macros to Create Custom Verbs
Starlark Language
.bzl style guide
Challenges of Writing Rules
Writing Rules on Windows
Distributing rules
Testing
Optimizing Performance
Deploying Rules
APIs
Overview
Globals
Bzl
Module
Repo rules
Index
Cache
Git
Http
Local
Utils
On this page
Attribute
Attribute
Attribute
Representation of a definition of an attribute. Use the
attr
module to create an Attribute. They are only for use with a
rule
or an
aspect
.
⌘I
Assistant
Responses are generated using AI and may contain mistakes.