Skip to content

Commit

Permalink
Fix constraint_value link
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mgred authored and copybara-github committed Jan 4, 2024
1 parent d4e2d50 commit cb98d32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<p>
A list of
<code><a href="platform.html#constraint_value">constraint_values</a></code>
<code><a href="platforms-and-toolchains#constraint_value">constraint_values</a></code>
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<p>
A list of
<code><a href="platform.html#constraint_value">constraint_value</a></code>s
<code><a href="platforms-and-toolchains#constraint_value">constraint_value</a></code>s
that must be present in the target platform for this target to be considered
<em>compatible</em>. This is in addition to any constraints already set by the
rule type. If the target platform does not satisfy all listed constraints then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ sh_binary(
configuration conditions to matching values. Each condition is a label
reference to
a <code><a href="general.html#config_setting">config_setting</a></code> or
<code><a href="platform.html#constraint_value">constraint_value</a></code>,
<code><a href="platforms-and-toolchains#constraint_value">constraint_value</a></code>,
which "matches" if the target's configuration matches an expected set of
values. The value of <code>mytarget#srcs</code> then becomes whichever
label list matches the current invocation.
Expand Down

0 comments on commit cb98d32

Please sign in to comment.