]> Cypherpunks repositories - gostls13.git/commit
cmd/go: stop creating nested temp directory trees
authorRuss Cox <rsc@golang.org>
Fri, 9 Jun 2017 19:46:47 +0000 (15:46 -0400)
committerRuss Cox <rsc@golang.org>
Sat, 30 Sep 2017 00:56:08 +0000 (00:56 +0000)
commitee4fbbc6211cd978f199dd26ab73ff72cc8d95fd
treed9b2eb5bea270f3d652572e4930b88f02305a7cc
parenta1fb024ac923bba8350ead22188fbcf0cca985a7
cmd/go: stop creating nested temp directory trees

Now that we have -importcfg, there's no need for the
temporary directory trees that mirror the import path structure,
and we can drop a bunch of complex code that was building
and maintaining that structure.

This should fix "file name too long" errors on systems with low limits.
(For example #10651 and #17070, although we fixed those by
adding code to deal with very long file names on Windows instead.)

Change-Id: I11e221c6c1edeb81c3b2f1d89988f5235aa2bbb9
Reviewed-on: https://go-review.googlesource.com/56280
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/internal/test/test.go
src/cmd/go/internal/work/build.go