bazelbuild/bazel

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

Open

#16.128 aperta il 18 ago 2022

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Java (4465 fork)batch import
P3good first issuehelp wantedteam-Configurabilityteam-Documentationtype: documentation (cleanup)

Metriche repository

Star
 (25.384 star)
Metriche merge PR
 (Merge medio 22g 20h) (77 PR mergiate in 30 g)

Descrizione

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

Guida contributor