]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: use bytes.Buffer for code generation
authorMarvin Stenger <marvin.stenger94@gmail.com>
Fri, 1 Sep 2017 16:17:10 +0000 (18:17 +0200)
committerIan Lance Taylor <iant@golang.org>
Wed, 20 Sep 2017 03:48:42 +0000 (03:48 +0000)
commit88ced021907fb96d5609a3c63db0d9738bf0ac2b
tree990d84baca62f5a7971e8a5a061fb7e1a8d73b4e
parent822f832d29c5fe8d0fac3f36028c0b4ffa7eec80
cmd/dist: use bytes.Buffer for code generation

This belongs to a series of clean-up changes (see below) for cmd/dist.
This is change (8).

These changes include:
(1)  apply minor fixes
(2)  restore behavior of branchtag
(3)  unleash bootstrap optimization for windows
(4)  use standard generated code header
(5)  remove trivial variables + functions
(6)  move functions for the better
(7)  simplify code segments
(8)  use bytes.Buffer for code generation
(9)  rename variables + functions
(10) remove doc.go

Change-Id: I2d5a071eb8e14690325612271432fdc5f43b108b
Reviewed-on: https://go-review.googlesource.com/61014
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/buildgo.go
src/cmd/dist/buildruntime.go