]> Cypherpunks repositories - gostls13.git/commit
cmd/go: drop runtime, runtime/internal/sys, runtime/internal/atomic, unsafe as deps...
authorRuss Cox <rsc@golang.org>
Sun, 5 Nov 2017 21:22:02 +0000 (16:22 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 6 Nov 2017 20:16:48 +0000 (20:16 +0000)
commitf3c46355d7a4c794228e4d8cd6bbaabbef23a345
tree255196d1ed609fb5c01f9b5224be4d80bdaaa25e
parentda109c6075e135bae4b8681e0c53c725e62a354c
cmd/go: drop runtime, runtime/internal/sys, runtime/internal/atomic, unsafe as deps of everything

This was a hack to make a new make.bash avoid reusing installed packages.
The new content-based staleness is precise enough not to need this hack;
now it's just causing unnecessary rebuilds: if a package doesn't import "runtime",
for example, it doesn't need to be recompiled when runtime changes.
(It does need to be relinked, and we still arrange that.)

Change-Id: I4ddf6e16d754cf21b16e9db1ed52bddbf82e96c6
Reviewed-on: https://go-review.googlesource.com/76015
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/go/go_test.go
src/cmd/go/internal/load/pkg.go
src/cmd/go/internal/work/action.go