)]}'
{
  "commit": "c469ca26c588918cfad439636a26fbefa2049b1d",
  "tree": "b738b9df0a7049d2498a8c47f61dbb9c51865533",
  "parents": [
    "beb1789f08371f3245303680ef53ff6e235b9ed3"
  ],
  "author": {
    "name": "D. Ben Knoble",
    "email": "ben.knoble+github@gmail.com",
    "time": "Thu Dec 18 18:25:44 2025 -0500"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Dec 19 17:57:26 2025 +0900"
  },
  "message": "rust: build correctly without GNU sed\n\nFrom e509b5b8be (rust: support for Windows, 2025-10-15), we check\ncargo\u0027s information to decide which library to build. However, that\ncheck mistakenly used \"sed -s\" (\"consider files as separate rather than\nas a single, continuous long stream\"), which is a GNU extension. The\nbuild thus fails on macOS with \"meson -Drust\u003denabled\", which comes with\nBSD-derived sed.\n\nInstead, use the intended \"sed -n\" and print the matching section of the\noutput. This failure mode likely went unnoticed on systems with GNU sed\n(common for developer machines and CI) because, in those instances, the\noutput being matched by case is the full cargo output (which either\ncontains the string \"-windows-\" or doesn\u0027t).\n\nHelped-by: Eric Sunshine \u003csunshine@sunshineco.com\u003e\nHelped-by: Patrick Steinhardt \u003cps@pks.im\u003e\nSigned-off-by: D. Ben Knoble \u003cben.knoble+github@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3998db043548640b48ab502a7d848bf87ad627bb",
      "old_mode": 33261,
      "old_path": "src/cargo-meson.sh",
      "new_id": "38728a371137f9d2a98e2e98749cd693e0a005ed",
      "new_mode": 33261,
      "new_path": "src/cargo-meson.sh"
    }
  ]
}
