)]}'
{
  "commit": "b38dcb6b9f8f020afb89ac66535682b009cdd387",
  "tree": "4369321237362c01502609601678a315053905c1",
  "parents": [
    "5d0a4153b0bcc86c5a23310d5b648a587be3c56d"
  ],
  "author": {
    "name": "Matt Stark",
    "email": "msta@google.com",
    "time": "Mon Aug 11 13:52:20 2025 +1000"
  },
  "committer": {
    "name": "GN LUCI",
    "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Sep 10 21:44:37 2025 -0700"
  },
  "message": "Avoid clashes of include_dir in rust-project.json.\n\nIn the event of a BUILD.gn file containing multiple crates:\n```\n# path/to/BUILD.gn\nrust_library(\"foo\") {\n  sources \u003d [..., \"//gen/path/to/foo/foo.rs\"]\n}\n\nrust_library(\"bar\") {\n  sources \u003d [..., \"//gen/path/to/bar/bar.rs\"]\n}\n```\n\nIt would previously generate a rust-project.json containing an include\ndir of `gen/path/to`. This means that rust-analyzer thought that foo\ncontains bar.rs and vice versa.\n\nNow we generate the include_dir of `gen/path/to/foo` instead.\n\nChange-Id: Iac4f87c42aa09339ebe01425fed6ed5b39c22747\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/19801\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Takuto Ikuta \u003ctikuta@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6c9aef8d9037adcd77a6e1e7999ce9f7ac4d69cf",
      "old_mode": 33188,
      "old_path": "src/gn/rust_project_writer.cc",
      "new_id": "c5b4590e514adcfd17ac16cbbfcd57988ca68cde",
      "new_mode": 33188,
      "new_path": "src/gn/rust_project_writer.cc"
    },
    {
      "type": "modify",
      "old_id": "3073fd53a22dfb0eb12bd9ce632a4bb792cc3e74",
      "old_mode": 33188,
      "old_path": "src/gn/rust_project_writer_helpers.h",
      "new_id": "4feff94b8dc53aeb633c9bfb3cedc5f6731635dd",
      "new_mode": 33188,
      "new_path": "src/gn/rust_project_writer_helpers.h"
    },
    {
      "type": "modify",
      "old_id": "87ccd83570136d86f1089fbb53dfb8094ce613b5",
      "old_mode": 33188,
      "old_path": "src/gn/rust_project_writer_helpers_unittest.cc",
      "new_id": "c37f215ad3bfef191e57d0c722c5f583d98ec59a",
      "new_mode": 33188,
      "new_path": "src/gn/rust_project_writer_helpers_unittest.cc"
    },
    {
      "type": "modify",
      "old_id": "f0b806bf9f5fd7cffc8775c06588231d172ef2c8",
      "old_mode": 33188,
      "old_path": "src/gn/rust_project_writer_unittest.cc",
      "new_id": "8f808243f2bc40dd7d07368e75e92aafad1ee847",
      "new_mode": 33188,
      "new_path": "src/gn/rust_project_writer_unittest.cc"
    }
  ]
}
