)]}'
{
  "commit": "1e362cd247c958f790b489f335c44e95c58f50c8",
  "tree": "e01530eaafddd55d6c7e544d563b0a4e92c2fc69",
  "parents": [
    "228d7d560dd9e03228e663c51fe3ae020fb11f35"
  ],
  "author": {
    "name": "Philipp Schrader",
    "email": "philipp.schrader@gmail.com",
    "time": "Tue Nov 17 22:15:11 2020 -0800"
  },
  "committer": {
    "name": "Philipp Schrader",
    "email": "philipp.schrader@gmail.com",
    "time": "Wed Nov 18 19:45:44 2020 -0800"
  },
  "message": "Add an \"incompatible\" constraint value\n\nThe bazel docs [1] currently recommend users to create an\n`incompatible` constraint in their own code base. This constraint is\nuseful in expressing more advanced target compatibilities.\n\nCurrently every project has to create their own definition for this\nconstraint. That is unnecessary proliferation of something that can be\neasily centralized here.\n\nThis patch makes it so users will be able to use the following pattern\nin their BUILD files:\n\n    cc_library(\n        name \u003d \"unixish_lib\",\n        srcs \u003d \"unixish_lib.cc\",\n        target_compatible_with \u003d select({\n            \"@platforms//os:osx\": [],\n            \"@platforms//os:linux\": [],\n            \"//conditions:default\": [\"@platforms//:incompatible\"],\n        ],\n    )\n\n[1]: https://docs.bazel.build/versions/master/platforms.html#skipping-incompatible-targets\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d73ff9229ad4f2cc1b637ab665cf389832de82c9",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "ad16e74371cd5bc4484580e1e9fe1ee3e0563f57",
      "new_mode": 33188,
      "new_path": "BUILD"
    }
  ]
}
