docs/versions/6.1.0/rules/lib/platform_common.mdx
Functions for Starlark to interact with the platform APIs.
<h2>Members</h2> <ul> <li> <a href="#ConstraintSettingInfo">ConstraintSettingInfo</a> </li> <li> <a href="#ConstraintValueInfo">ConstraintValueInfo</a> </li> <li> <a href="#PlatformInfo">PlatformInfo</a> </li> <li> <a href="#TemplateVariableInfo">TemplateVariableInfo</a> </li> <li> <a href="#ToolchainInfo">ToolchainInfo</a> </li> </ul> <h2 id="ConstraintSettingInfo">ConstraintSettingInfo</h2>
<p><pre class="rule-signature"><a class="anchor" href="Provider.html">Provider</a> platform_common.ConstraintSettingInfo</pre></p>
The constructor/key for the <a href='ConstraintSettingInfo.html'>ConstraintSettingInfo</a> provider.
<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 id="ConstraintValueInfo">ConstraintValueInfo</h2>
<p><pre class="rule-signature"><a class="anchor" href="Provider.html">Provider</a> platform_common.ConstraintValueInfo</pre></p>
The constructor/key for the <a href='ConstraintValueInfo.html'>ConstraintValueInfo</a> provider.
<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 id="PlatformInfo">PlatformInfo</h2>
<p><pre class="rule-signature"><a class="anchor" href="Provider.html">Provider</a> platform_common.PlatformInfo</pre></p>
The constructor/key for the <a href='PlatformInfo.html'>PlatformInfo</a> provider.
<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 id="TemplateVariableInfo">TemplateVariableInfo</h2>
<p><pre class="rule-signature"><a class="anchor" href="Provider.html">Provider</a> platform_common.TemplateVariableInfo</pre></p>
The constructor/key for the <a href='TemplateVariableInfo.html'>TemplateVariableInfo</a> provider.
<h2 id="ToolchainInfo">ToolchainInfo</h2>
<p><pre class="rule-signature"><a class="anchor" href="Provider.html">Provider</a> platform_common.ToolchainInfo</pre></p>
The constructor/key for the <a href='ToolchainInfo.html'>ToolchainInfo</a> provider.