Skip to content

Commit

Permalink
cmd/gomote: update isGoToolDistGenerated for internal/runtime/sys move
Browse files Browse the repository at this point in the history
The internal runtime package sys moved in CL 600436. Update the list of
dist-generated files accordingly.

runtime/internal/sys/zversion.go is left behind for the same reason as
written in the commit message of CL 595116: in case someone works with
an older toolchain before the rename.

Fixes golang/go#68574.

Change-Id: Ifaf115bd2244670ed1677980b346e75f1b19c7cd
Reviewed-on: https://go-review.googlesource.com/c/build/+/600735
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
  • Loading branch information
dmitshur authored and gopherbot committed Jul 24, 2024
1 parent b9910f3 commit 5a10fff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/gomote/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ func isGoToolDistGenerated(path string) bool {
"src/cmd/internal/objabi/zbootstrap.go",
"src/go/build/zcgo.go",
"src/internal/buildcfg/zbootstrap.go",
"src/runtime/internal/sys/zversion.go",
"src/internal/runtime/sys/zversion.go",
"src/runtime/internal/sys/zversion.go", // relevant only prior to CL 600436
"src/time/tzdata/zzipdata.go":
return true
}
Expand Down

0 comments on commit 5a10fff

Please sign in to comment.