blob: 3f2a12a16f934c236f6bb64a01551658183daf18 [file]
---
title: 'platform\_common'
---
Functions for Starlark to interact with the platform APIs.
## Members
* [ConstraintSettingInfo](#ConstraintSettingInfo)
* [ConstraintValueInfo](#ConstraintValueInfo)
* [PlatformInfo](#PlatformInfo)
* [TemplateVariableInfo](#TemplateVariableInfo)
* [ToolchainInfo](#ToolchainInfo)
## ConstraintSettingInfo
```
Provider platform_common.ConstraintSettingInfo
```
The constructor/key for the [ConstraintSettingInfo](/versions/7.6.1/rules/lib/providers/ConstraintSettingInfo) provider.
*Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with `--experimental_platforms_api`*
## ConstraintValueInfo
```
Provider platform_common.ConstraintValueInfo
```
The constructor/key for the [ConstraintValueInfo](/versions/7.6.1/rules/lib/providers/ConstraintValueInfo) provider.
*Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with `--experimental_platforms_api`*
## PlatformInfo
```
Provider platform_common.PlatformInfo
```
The constructor/key for the [PlatformInfo](/versions/7.6.1/rules/lib/providers/PlatformInfo) provider.
*Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with `--experimental_platforms_api`*
## TemplateVariableInfo
```
Provider platform_common.TemplateVariableInfo
```
The constructor/key for the [TemplateVariableInfo](/versions/7.6.1/rules/lib/providers/TemplateVariableInfo) provider.
## ToolchainInfo
```
Provider platform_common.ToolchainInfo
```
The constructor/key for the [ToolchainInfo](/versions/7.6.1/rules/lib/providers/ToolchainInfo) provider.