IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/platform_common

You can read about the migration, and let us know what you think.

Extensions > API reference > platform_common

platform_common

Functions for Starlark to interact with the platform APIs.

ConstraintSettingInfo

Provider platform_common.ConstraintSettingInfo

The constructor/key for the 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 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 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 provider.

ToolchainInfo

Provider platform_common.ToolchainInfo

The constructor/key for the ToolchainInfo provider.