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

Issue 185040044: code review 185040044: runtime: generate windows callback list with go generate (Closed)

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

Description

runtime: generate windows callback list with go generate This is the last system-dependent file written by cmd/dist. They are all now written by go generate. cmd/dist is not needed to start building package runtime for a different system anymore. Now all the generated files can be assumed generated, so delete the clumsy hacks in cmd/api. Re-enable api check in run.bash.

Patch Set 1 #

Patch Set 2 : diff -r faa3ed1dc30e42771a68b6337dcf8be9518d5c07 https://code.google.com/p/go/ #

Patch Set 3 : diff -r faa3ed1dc30e42771a68b6337dcf8be9518d5c07 https://code.google.com/p/go/ #

Patch Set 4 : diff -r f1594a821ec083a2aa04d18ac7f2c9e2e2720e18 https://code.google.com/p/go/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2074 lines, -207 lines) Patch
M src/cmd/api/goapi.go View 1 2 chunks +6 lines, -148 lines 0 comments Download
M src/cmd/dist/build.c View 1 2 3 4 chunks +8 lines, -11 lines 0 comments Download
M src/cmd/dist/buildruntime.c View 1 1 chunk +0 lines, -41 lines 0 comments Download
M src/cmd/go/build.go View 1 1 chunk +2 lines, -1 line 0 comments Download
M src/run.bash View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/run.bat View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M src/runtime/runtime.go View 1 1 chunk +2 lines, -0 lines 0 comments Download
A src/runtime/wincallback.go View 1 2 3 1 chunk +43 lines, -0 lines 1 comment Download
A src/runtime/zcallback_windows.s View 1 2 3 1 chunk +2010 lines, -0 lines 0 comments Download

Messages

Total messages: 8
rsc
Hello bradfitz (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
10 years, 11 months ago (2014-12-05 18:20:06 UTC) #1
bradfitz
LGTM Yay deletes. So we don't check in zcallback_windows.go? When in the process does go ...
10 years, 11 months ago (2014-12-05 18:47:28 UTC) #2
rsc
On Fri, Dec 5, 2014 at 1:47 PM, <bradfitz@golang.org> wrote: > LGTM > > Yay ...
10 years, 11 months ago (2014-12-05 18:51:52 UTC) #3
rsc
Actually cmd/dist removed it. Made it less aggressive.
10 years, 11 months ago (2014-12-05 19:18:33 UTC) #4
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=5b665926e5b4 *** runtime: generate windows callback list with go generate This is ...
10 years, 11 months ago (2014-12-05 21:24:25 UTC) #5
brainman
https://codereview.appspot.com/185040044/diff/60001/src/runtime/wincallback.go File src/runtime/wincallback.go (right): https://codereview.appspot.com/185040044/diff/60001/src/runtime/wincallback.go#newcode42 src/runtime/wincallback.go:42: } Please, generate runtime2_windows.go here too. So we have ...
10 years, 11 months ago (2014-12-05 21:28:01 UTC) #6
gobot
This CL appears to have broken the darwin-amd64-race-cheney builder. See http://build.golang.org/log/e14ae729a5300357b14af809f1b0445487241cea
10 years, 11 months ago (2014-12-05 23:19:46 UTC) #7
brainman
10 years, 11 months ago (2014-12-06 04:01:19 UTC) #8
Message was sent while issue was closed.
On 2014/12/05 21:28:01, brainman wrote:
> Please, generate runtime2_windows.go here too. So we have maxCallback defined
in
> single place.

Here https://codereview.appspot.com/180640043/ it is.

Alex
Sign in to reply to this message.

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