bazelbuild/bazel
在 GitHub 查看The `label_flag`, `label_setting` rules have no reference documentation
Open
#16,128 创建于 2022年8月18日
P3good first issuehelp wantedteam-Configurabilityteam-Documentationtype: documentation (cleanup)
仓库指标
- Star
- (25,384 star)
- PR 合并指标
- (平均合并 22天 20小时) (30 天内合并 77 个 PR)
描述
Description of the bug:
The label_flag and label_setting built-in rules are discussed in https://bazel.build/extending/config#label-typed-build-settings, but have no reference documentation listing their attributes. It should probably be documented at https://bazel.build/reference/be/general. Only by searching around the internet for code examples did I find, for example, that the label_flag rule has a help attribute!
The situation is even more dire with label_setting, because there is no example code showing how one might use it.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
No response
What is the output of bazel info release?
No response
If bazel info release returns development version or (@non-git), tell us how you built Bazel.
No response
What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response