)]}'
{
  "commit": "385c12f84a0f1b6b5d70f228a0fb629f6f8f316c",
  "tree": "ef5ea6804ca0419e8851d1a21f956508764ba446",
  "parents": [
    "032ca1877adc3421343ed35a49c014ca261effff"
  ],
  "author": {
    "name": "Serge Bazanski",
    "email": "serge@nexantic.com",
    "time": "Wed Jun 17 12:12:42 2020 +0200"
  },
  "committer": {
    "name": "Serge Bazanski",
    "email": "serge@nexantic.com",
    "time": "Wed Jun 17 12:12:42 2020 +0200"
  },
  "message": "build/toolchain: init\n\nThis adds a new, bare-bones, host-based C++ toolchain, and enables it\nfor all target builds. This toolchain replaces the automatically\ngenerated host toolchain from bazel-tools, and differs in the following\nways:\n - uses fully hardcoded paths\n - is the bare minimum required, which allows us full control over all\n   aspects of it, notably link arguments\n - does not assume we\u0027re building normal C++ binaries for Linux (for\n   instance, the new toolchain does not always link with -lm)\n\nThis is in anticipation of a change by @lorenz that uses cc_binary to\nbuild qboot for tests. However, this is also a good basis to start\nwriting a \u0027real\u0027 toolchain suite for mkfs.xfs, linux \u0026 co.\n\nTest Plan: For now, this is unused - but does not break any existing flow, which is fine. I did test this on a qboot WIP commit from @lorenz, and it at least fixed our immediate problem that it wanted to build it with with -lm,-lstdc++ - which we didn\u0027t.\n\nX-Origin-Diff: phab/D560\nGitOrigin-RevId: 8a5bc5f00a0a0534ea245e556d160f5bab7f8a0c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d1d18dbc134d9773f397a7c60add7aa12051ef85",
      "old_mode": 33188,
      "old_path": ".bazelrc",
      "new_id": "1dd8a0a7b1fdb2dd463663d20f884936f982b49d",
      "new_mode": 33188,
      "new_path": ".bazelrc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5bf53d2ac64d771060655746bbf4a2d56cf29b85",
      "new_mode": 33188,
      "new_path": "build/toolchain/BUILD"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b69e06fbfaf1634f2d6b17fe01a24e3585b024e8",
      "new_mode": 33188,
      "new_path": "build/toolchain/cc_toolchain_config.bzl"
    }
  ]
}
