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

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

Extensions > API reference > IncompatiblePlatformProvider

IncompatiblePlatformProvider

A provider for targets that are incompatible with the target platform. See Detecting incompatible targets using bazel cquery for more information.