The bazel docs 1 currently recommend users to create an
incompatible constraint in their own code base. This constraint is
useful in expressing more advanced target compatibilities.
Currently every project has to create their own definition for this
constraint. That is unnecessary proliferation of something that can be
easily centralized here.
This patch makes it so users will be able to use the following pattern
in their BUILD files:
The bazel docs 1 currently recommend users to create an
incompatible
constraint in their own code base. This constraint is useful in expressing more advanced target compatibilities.Currently every project has to create their own definition for this constraint. That is unnecessary proliferation of something that can be easily centralized here.
This patch makes it so users will be able to use the following pattern in their BUILD files: