)]}'
{
  "commit": "c8b67fdfc8b7341b14e8c8495724bf2890a29bcf",
  "tree": "a161bfdaaf62da3df7e3e33fd732e5bb13b71420",
  "parents": [
    "e9a95cea30e2e53d90dbfdc2497bd36a9e73700d"
  ],
  "author": {
    "name": "Johnathan Van Why",
    "email": "jrvanwhy@google.com",
    "time": "Mon Jul 13 15:48:08 2020 -0700"
  },
  "committer": {
    "name": "Johnathan Van Why",
    "email": "jrvanwhy@google.com",
    "time": "Fri Jul 17 15:25:42 2020 -0700"
  },
  "message": "Add the `Syscalls` trait to `libtock_platform`.\n\n`Syscalls` is a trait representing Tock\u0027s system call API. It will be implemented by both `libtock_runtime` (included by TBF binaries) and `libtock_fake` (included by unit tests). It will allow us to replace the real Tock kernel with a fake Tock kernel for testing purposes.\n\n`Syscalls` is designed to introduce no overhead over the system call assembly logic. For `allow`, `command`, and `subscribe`, it is based on Tock\u0027s `Driver` trait. A higher-level interface over Tock\u0027s system calls, for use by `libtock_core` and client code, will be introduced in a later PR.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "64d520b4c423c56c732eeaf67305166151cb52ed",
      "old_mode": 33188,
      "old_path": "core/platform/src/lib.rs",
      "new_id": "25c04df057bd1ae75714d6b00a7105a6358c313b",
      "new_mode": 33188,
      "new_path": "core/platform/src/lib.rs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9a78169dd739e946f1d0c774eadc041a3a2af09c",
      "new_mode": 33188,
      "new_path": "core/platform/src/syscalls.rs"
    }
  ]
}
