From cb98d329375dd123f8dfdee395b2dae9d2b0cd54 Mon Sep 17 00:00:00 2001 From: Marc Redemske Date: Thu, 4 Jan 2024 10:34:31 -0800 Subject: [PATCH] Fix `constraint_value` link platform.html does not exist (anymore) it now points to: https://bazel.build/reference/be/platforms-and-toolchains#constraint_value Closes #20694. PiperOrigin-RevId: 595743748 Change-Id: I5ea30e4ce2b89af86d42456a724986e648c9140c --- .../templates/attributes/common/exec_compatible_with.html | 2 +- .../templates/attributes/common/target_compatible_with.html | 2 +- .../com/google/devtools/build/docgen/templates/be/functions.vm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/exec_compatible_with.html b/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/exec_compatible_with.html index 69093186fc2afd..5d79567e082d27 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/exec_compatible_with.html +++ b/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/exec_compatible_with.html @@ -4,7 +4,7 @@

A list of -constraint_values +constraint_values that must be present in the execution platform for this target. This is in addition to any constraints already set by the rule type. Constraints are used to restrict the list of available execution platforms. For more details, see diff --git a/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/target_compatible_with.html b/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/target_compatible_with.html index e5ceade294fda1..395735779e38af 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/target_compatible_with.html +++ b/src/main/java/com/google/devtools/build/docgen/templates/attributes/common/target_compatible_with.html @@ -4,7 +4,7 @@

A list of -constraint_values +constraint_values that must be present in the target platform for this target to be considered compatible. This is in addition to any constraints already set by the rule type. If the target platform does not satisfy all listed constraints then diff --git a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm index c5280baefb8355..0c0b9408d4f8ac 100644 --- a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm +++ b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm @@ -687,7 +687,7 @@ sh_binary( configuration conditions to matching values. Each condition is a label reference to a config_setting or - constraint_value, + constraint_value, which "matches" if the target's configuration matches an expected set of values. The value of mytarget#srcs then becomes whichever label list matches the current invocation.