)]}'
{
  "commit": "6314e465049a80d594dda0d86062cf6da7845fe3",
  "tree": "61304df5d2a208684e4fdc72b8ff64c7bc674fcb",
  "parents": [
    "58959d7ee1389709a5b3cc2368fb684d9d03c2a4"
  ],
  "author": {
    "name": "msta",
    "email": "msta@google.com",
    "time": "Wed Aug 05 11:42:29 2026 +1000"
  },
  "committer": {
    "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Aug 05 17:01:02 2026 -0700"
  },
  "message": "Fix linker errors in CQ when compiling with starlark.\n\nThere are several issues here:\n* rust needs to know that we\u0027re using custom clang instead of system\n  compiler\n* rust needs to be passed the link args so it\u0027s aware than asan is\n  enabled.\n* Apparently libraries need to be passed in *reverse* dependency order\n  to the linker\n* We need to configure --target correctly in order to cross-compile\n* The version of rust in CIPD has a different output directory layout to\n  the version I\u0027m using locally. We need to support both.\n\nWith these changes applied, the code (and tests) successfully compile and link on linux, mac, and windows CQ bots.\nhttps://ci.chromium.org/ui/p/gn/builders/try.shadow/linux/b8674332519420178241/overview\nhttps://ci.chromium.org/ui/p/gn/builders/try.shadow/mac/b8674332512389917857/overview\nhttps://ci.chromium.org/ui/p/gn/builders/try.shadow/win/b8674325382197679105/overview\n\nBug: 528225104\nChange-Id: Ie430dfac5f8860e1af83eb2cc8907b8f6a6a6964\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/24880\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Matt Stark \u003cmsta@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c7d03f744cf07f252725a3fd0a60a031fc65d731",
      "old_mode": 33261,
      "old_path": "build/gen.py",
      "new_id": "bf4e5dbdd08d0593a0dd2aff0ff277256300076b",
      "new_mode": 33261,
      "new_path": "build/gen.py"
    },
    {
      "type": "modify",
      "old_id": "58e0e1028554d11753c3bf29c072b5ad3a4add2d",
      "old_mode": 33188,
      "old_path": "build/ninja_file.py",
      "new_id": "f7fcb6c2fe73394059df92c0b2edea3c7787b642",
      "new_mode": 33188,
      "new_path": "build/ninja_file.py"
    },
    {
      "type": "modify",
      "old_id": "6c9cb2cd277d655e541b31e4ddb1fc33b12aed85",
      "old_mode": 33261,
      "old_path": "build/run_cargo.py",
      "new_id": "a5ba52a3742f2e4ed35c1265648c1a66196e817f",
      "new_mode": 33261,
      "new_path": "build/run_cargo.py"
    },
    {
      "type": "modify",
      "old_id": "ae666d1fca4a15842ce9f55b8e014e25df2e365a",
      "old_mode": 33188,
      "old_path": "src/gn/starlark/crates/ffi/build.rs",
      "new_id": "b29213fbd879c1a26d892b064398b65e9311ad5f",
      "new_mode": 33188,
      "new_path": "src/gn/starlark/crates/ffi/build.rs"
    }
  ]
}
