Back to Bazel

ConstraintSettingInfo

docs/versions/8.3.0/rules/lib/providers/ConstraintSettingInfo.mdx

9.1.11.3 KB
Original Source
<html devsite> <head> <meta name="project_path" value="/_project.yaml"> <meta name="book_path" value="/versions/8.3.0/_book.yaml"> </head> <body> <h1 class="page-title" id="modules.ConstraintSettingInfo">ConstraintSettingInfo</h1>

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/platform/ConstraintSettingInfoApi.java" %} {% dynamic setvar version "8.3.0" %} {% dynamic setvar original_path "/rules/lib/providers/ConstraintSettingInfo" %} {% include "_buttons.html" %}

<!-- {% raw %} -->

A specific constraint setting that may be used to define a platform. See <a href='/versions/8.3.0/docs/platforms#constraints-platforms'>Defining Constraints and Platforms</a> for more information. <i>Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with <code>--experimental_platforms_api</code></i>

<h2>Members</h2> <ul> <li> <a href="#has_default_constraint_value">has_default_constraint_value</a> </li> </ul>
  <h2 id="has_default_constraint_value">has_default_constraint_value</h2>
    <p><pre class="rule-signature"><a class="anchor" href="../core/bool.html">bool</a> ConstraintSettingInfo.has_default_constraint_value</pre></p>

Whether there is a default constraint_value for this setting.
</body> </html> <!-- {% endraw %} -->