Commit af56e0a024 for golang

commit af56e0a024706709d884d7429f5d36b7d387896a
Author: nnnkkk7 <kurodanaoki0711pana@gmail.com>
Date:   Wed Dec 2 17:39:34 2026 +0900

    cmd/go: hash _cgo_export.h in the cgo run objdir

    Since CL 846505 the cgo run action has its own objdir, so CL 866841
    hashed a missing file and the cgo_stale_header test fails on the
    longtest builders.

    For #83306

    Change-Id: I976e2e03fe027fe8051b7587888d2f212b6850c5
    Reviewed-on: https://go-review.googlesource.com/c/go/+/869141
    LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
    Reviewed-by: PJ Malloy <pjmalloy@google.com>
    Reviewed-by: Michael Matloob <matloob@golang.org>
    Reviewed-by: Michael Matloob <matloob@google.com>

diff --git a/src/cmd/go/internal/work/exec.go b/src/cmd/go/internal/work/exec.go
index 97d1420a26..98932ed888 100644
--- a/src/cmd/go/internal/work/exec.go
+++ b/src/cmd/go/internal/work/exec.go
@@ -1277,7 +1277,7 @@ func (b *Builder) cgoCompileActionID(a *Action, f string, flags []string) cache.
 	for _, file := range p.HFiles {
 		fmt.Fprintf(h, "hfile %s %s\n", file, b.fileHash(filepath.Join(p.Dir, file)))
 	}
-	fmt.Fprintf(h, "exportheader %s\n", b.fileHash(a.Objdir+"_cgo_export.h"))
+	fmt.Fprintf(h, "exportheader %s\n", b.fileHash(a.Deps[0].Objdir+"_cgo_export.h"))

 	// This has too much information.
 	// We only need to choose CC/CXX/FC based on which kind of compilation this