aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/dist
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2024-07-23 11:43:23 -0400
committerDavid Chase <drchase@google.com>2024-07-23 19:05:35 +0000
commitfc5073bc155545dde4856cccdfcbb31880d1eb66 (patch)
tree90aba60eda016a9392cd8ee0d55a154d0aa570e3 /src/cmd/dist
parentf9eb3e3cd59c1cf38a98f2367c6c8dc180db9a95 (diff)
downloadgo-fc5073bc155545dde4856cccdfcbb31880d1eb66.tar.xz
runtime,internal: move runtime/internal/sys to internal/runtime/sys
Cleanup and friction reduction For #65355. Change-Id: Ia14c9dc584a529a35b97801dd3e95b9acc99a511 Reviewed-on: https://go-review.googlesource.com/c/go/+/600436 Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/cmd/dist')
-rw-r--r--src/cmd/dist/build.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/dist/build.go b/src/cmd/dist/build.go
index c033beabdb..910d5290e5 100644
--- a/src/cmd/dist/build.go
+++ b/src/cmd/dist/build.go
@@ -639,7 +639,7 @@ var gentab = []struct {
}{
{"go/build", "zcgo.go", mkzcgo},
{"cmd/go/internal/cfg", "zdefaultcc.go", mkzdefaultcc},
- {"runtime/internal/sys", "zversion.go", mkzversion},
+ {"internal/runtime/sys", "zversion.go", mkzversion},
{"time/tzdata", "zzipdata.go", mktzdata},
}
@@ -1707,7 +1707,7 @@ func checkNotStale(env []string, goBinary string, targets ...string) {
out := runEnv(workdir, CheckExit, env, append(goCmd, targets...)...)
if strings.Contains(out, "\tSTALE ") {
os.Setenv("GODEBUG", "gocachehash=1")
- for _, target := range []string{"runtime/internal/sys", "cmd/dist", "cmd/link"} {
+ for _, target := range []string{"internal/runtime/sys", "cmd/dist", "cmd/link"} {
if strings.Contains(out, "STALE "+target) {
run(workdir, ShowOutput|CheckExit, goBinary, "list", "-f={{.ImportPath}} {{.Stale}}", target)
break