)]}'
{
  "commit": "e229fae55dff730fa59bc57f1bc94cc14a3eb25c",
  "tree": "29a3df24264e233a266e4bac8f2f327f63b9947e",
  "parents": [
    "bf42e04dc058a389c440fd8d66bc36d2e8b6006c"
  ],
  "author": {
    "name": "Souvikdebroy",
    "email": "46744483+Souvikdebroy@users.noreply.github.com",
    "time": "Mon Nov 23 15:05:16 2026 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Nov 23 03:35:16 2026 -0600"
  },
  "message": "[wasm-rust] Free host-allocated memory in the Rust toolkit (#6884)\n\nbuffer_copy_contents, font_copy_glyph_outline and feature_copy_contents\nallocate inside the module instance, which HarfBuzz caches per face and\nreuses across shape calls. The toolkit never called the matching\nbuffer_contents_free / glyph_outline_free / features_free, so the 2MB\nWASM heap is eventually exhausted: shaping fails (falls back) or\nget_outline() silently yields no outline.\n\nVerified with a loop harness shaping 51 chars per call on main:\n  Buffer::from_ref:  first failure at call 1024, 19/20000 failed -\u003e 0\n  Font::get_outline: first failure at call 3235, 6/20000 failed  -\u003e 0\n  Features:          first failure at call 87338, 3/300000 failed -\u003e 0\nShaped output is unchanged; cargo fmt/clippy show no new findings.\n\nAssisted-by: GitHub Copilot",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5610b5a69fd5c659ccf71c705ba2f04f2ea3efc8",
      "old_mode": 33188,
      "old_path": "src/wasm/rust/harfbuzz-wasm/src/lib.rs",
      "new_id": "8bec3baf0338208199f7e6ca97e21174c217fbbc",
      "new_mode": 33188,
      "new_path": "src/wasm/rust/harfbuzz-wasm/src/lib.rs"
    }
  ]
}
