]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: make zosarch.go deterministic
authorAustin Clements <austin@google.com>
Thu, 16 Jun 2016 18:38:33 +0000 (14:38 -0400)
committerAustin Clements <austin@google.com>
Thu, 16 Jun 2016 19:32:33 +0000 (19:32 +0000)
commit79f2f008a31f769ae3db684eb48d8baeda731c00
treedb83f340b97f74edbc15be33f255b30e843a0b84
parentc3818e56d0f60493a63b2bb03a09f261d3e0ada2
cmd/dist: make zosarch.go deterministic

Currently zosarch.go is written out in non-deterministic map order.
Sort the keys and write it out in sorted order to make the generated
file contents deterministic.

Change-Id: Id490f0e8665a2c619c5a7a00a30f4fc64f333258
Reviewed-on: https://go-review.googlesource.com/24174
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/buildgo.go