Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(16672)

Issue 6300062: code review 6300062: cmd/cgo: make Go code order deterministic (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by rsc
Modified:
11 years, 10 months ago
Reviewers:
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

cmd/cgo: make Go code order deterministic The type declarations were being generated using a range over a map, which meant that successive runs produced different orders. This will make sure successive runs produce the same files. Fixes issue 3707.

Patch Set 1 #

Patch Set 2 : diff -r 14ce24bcd818 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 14ce24bcd818 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -8 lines) Patch
M src/cmd/cgo/main.go View 1 3 chunks +12 lines, -4 lines 0 comments Download
M src/cmd/cgo/out.go View 1 3 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 10 months ago (2012-06-07 16:33:11 UTC) #1
bradfitz
LGTM On Thu, Jun 7, 2012 at 9:33 AM, <rsc@golang.org> wrote: > Reviewers: golang-dev_googlegroups.com, > ...
11 years, 10 months ago (2012-06-07 16:35:53 UTC) #2
rsc
11 years, 10 months ago (2012-06-07 16:37:57 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=319a9f3330d0 ***

cmd/cgo: make Go code order deterministic

The type declarations were being generated using
a range over a map, which meant that successive
runs produced different orders. This will make sure
successive runs produce the same files.

Fixes issue 3707.

R=golang-dev, bradfitz
CC=golang-dev
http://codereview.appspot.com/6300062
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b