Extensions > API reference > platform

platform

The platform configuration.

enabled_toolchain_types

List platform.enabled_toolchain_types

Deprecated. This API is deprecated and will be removed soon. Please do not depend on it. It is disabled with --incompatible_remove_enable_toolchain_types. Use this flag to verify your code is compatible with its imminent removal.
The set of toolchain types enabled for platform-based toolchain selection.

host_platform

Label platform.host_platform

The current host platform

platform

Label platform.platform

The current target platform