)]}'
{
  "commit": "e200b3da704d6bd509d65bb93661954435559a3e",
  "tree": "5e9ff4c93ce09c83edc9201b72e09fc24b29ca96",
  "parents": [
    "d6dfa017ba2051370483d9222f0f07507587f1dd"
  ],
  "author": {
    "name": "Sam Clegg",
    "email": "sbc@chromium.org",
    "time": "Fri Apr 29 14:50:58 2022"
  },
  "committer": {
    "name": "Sam Clegg",
    "email": "sbc@chromium.org",
    "time": "Fri Apr 29 17:56:37 2022"
  },
  "message": "wasm2c: group imports for a given module into a struct type.\n\nRather than given each import a magic name we can group imports into a\nsingle struct and pass that struct into the init function.\n\nThis means that in the generated code all access to imported elements\nnow goes via the `g_imports` struct.  Note that this is not a pointer\nbut a copy of the passed in struct, to avoid adding any extra\nindirection.\n\nThis can be considered one step towards module instancing.\n\nIt also avoids the need for name mangling since individual imports no\nlonger live in the global namespace.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "16a8e49d6343d0f71249556549bc9ad596c7daba",
      "old_mode": 33188,
      "old_path": "src/c-writer.cc",
      "new_id": "13251003aa3bee48dcaff8dfbdfdc159d119e4e2",
      "new_mode": 33188,
      "new_path": "src/c-writer.cc"
    },
    {
      "type": "modify",
      "old_id": "f1832a579af74146cb0a5b4b42bae77adc17913e",
      "old_mode": 33188,
      "old_path": "wasm2c/examples/fac/fac.h",
      "new_id": "b3c34bdfc792dbf4045e0d4ab377b28fc798446d",
      "new_mode": 33188,
      "new_path": "wasm2c/examples/fac/fac.h"
    },
    {
      "type": "modify",
      "old_id": "321f0229480783232db6f18730ad98922e35dfcc",
      "old_mode": 33188,
      "old_path": "wasm2c/examples/rot13/main.c",
      "new_id": "b08ffd1386e30f12655de65ebbfe7279d4e0688c",
      "new_mode": 33188,
      "new_path": "wasm2c/examples/rot13/main.c"
    }
  ]
}
