)]}'
{
  "commit": "0e4426e1883d549670b0bc30be4d6069fde138ff",
  "tree": "0306987c8ae91c4c31d1b07b3015491bbaddd92e",
  "parents": [
    "35b1249819c3cd4f3ce56b6fa119e312d4ad0c40"
  ],
  "author": {
    "name": "Ian Chechin",
    "email": "ian00chechin@gmail.com",
    "time": "Wed May 20 00:20:25 2026 +0800"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Wed May 20 08:43:34 2026 -0700"
  },
  "message": "cmd/gomobile: detect missing golang.org/x/mobile dep before invoking gobind\n\ngobind\u0027s generated code depends on packages under golang.org/x/mobile/bind,\nand gobind resolves them through the calling module via packages.Load. When\nthe dependency is missing from the user\u0027s module — most commonly after\ngo mod tidy removes it because no non-generated code imports it — gobind\nfails with an opaque message repeated once per sub-target:\n\n    unable to import bind: no Go package in golang.org/x/mobile/bind\n    unable to import bind: no Go package in golang.org/x/mobile/bind\n    unable to import bind/objc: no Go package in golang.org/x/mobile/bind/objc\n\nDetect the missing module dependency in cmd/gomobile before invoking gobind\nand emit a single actionable message that suggests adding a tool directive\nto go.mod via \u0027go get -tool golang.org/x/mobile/cmd/gobind\u0027.\n\nFixes golang/go#77183.\n\nChange-Id: I365c99a1f37bec1f42b6cb858babd33d41317a8a\nReviewed-on: https://go-review.googlesource.com/c/mobile/+/779840\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\nReviewed-by: Michael Pratt \u003cmpratt@google.com\u003e\nReviewed-by: Hajime Hoshi \u003chajimehoshi@gmail.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nAuto-Submit: Hajime Hoshi \u003chajimehoshi@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d5bc6bd057943aca4372e346d8dae6835c85a1f8",
      "old_mode": 33188,
      "old_path": "cmd/gomobile/bind.go",
      "new_id": "23f94fcad8cf7b5295dba241fba6d11f0c5a48a0",
      "new_mode": 33188,
      "new_path": "cmd/gomobile/bind.go"
    },
    {
      "type": "modify",
      "old_id": "07e36656033821f83ad691955776dda6ce31fca8",
      "old_mode": 33188,
      "old_path": "cmd/gomobile/bind_test.go",
      "new_id": "e466d712422eb47ac5ac819ac0f79f8cf9e769aa",
      "new_mode": 33188,
      "new_path": "cmd/gomobile/bind_test.go"
    }
  ]
}
