bazel icon indicating copy to clipboard operation
bazel copied to clipboard

The `label_flag`, `label_setting` rules have no reference documentation

Open tpudlik opened this issue 3 years ago • 0 comments

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

tpudlik avatar Aug 18 '22 18:08 tpudlik