]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: delete unnecessary dirs from GOROOT on completion
authorJosh Bleecher Snyder <josharian@gmail.com>
Mon, 6 May 2019 16:18:08 +0000 (09:18 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 6 May 2019 17:05:53 +0000 (17:05 +0000)
commita921881f85e3b947a541315d25bf27a3608d29e4
treecdfc852114987a303d41f403e86af3665b3494b2
parent0bf1f02ed921ec2f78b27f133e7a688d3e8fa82e
cmd/dist: delete unnecessary dirs from GOROOT on completion

On my machine, these directories add up to 276mb
and account for 40% of the size of the GOROOT directory.

Once bootstrapping is complete, they are never used again.

Fixes #31851

Change-Id: Idbf8f21bae3d64655aa43761cc778677add6234a
Reviewed-on: https://go-review.googlesource.com/c/go/+/175377
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/dist/build.go
src/cmd/dist/buildtool.go