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

Issue 7393063: code review 7393063: cmd/go: fix "go run" cgo source when cgo is disabled (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by minux1
Modified:
12 years ago
Reviewers:
CC:
golang-dev, dave_cheney.net, adg, rsc
Visibility:
Public.

Description

cmd/go: fix "go run" cgo source when cgo is disabled also move a cgo-depend test to appropriate source file in runtime.

Patch Set 1 #

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

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

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

Total comments: 1

Patch Set 5 : diff -r b2cf2bf50e1f https://code.google.com/p/go/ #

Patch Set 6 : diff -r b2cf2bf50e1f https://code.google.com/p/go/ #

Total comments: 1

Patch Set 7 : diff -r f002e89cbd51 https://code.google.com/p/go/ #

Patch Set 8 : diff -r 38b1893be35d https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -74 lines) Patch
M src/cmd/go/run.go View 1 2 3 4 5 6 1 chunk +9 lines, -1 line 0 comments Download
M src/pkg/runtime/crash_cgo_test.go View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
M src/pkg/runtime/crash_test.go View 1 2 2 chunks +0 lines, -73 lines 0 comments Download

Messages

Total messages: 12
minux1
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years ago (2013-02-25 23:20:11 UTC) #1
dave_cheney.net
LGTM assuming it fixes http://build.golang.org/log/c6359bba20cfd944671ffab8c0fbf8f8264dd589 https://codereview.appspot.com/7393063/diff/6001/src/cmd/go/run.go File src/cmd/go/run.go (right): https://codereview.appspot.com/7393063/diff/6001/src/cmd/go/run.go#newcode74 src/cmd/go/run.go:74: fatalf("go run: no suitable ...
12 years ago (2013-02-26 00:03:34 UTC) #2
minux1
On Tue, Feb 26, 2013 at 8:03 AM, <dave@cheney.net> wrote: > LGTM assuming it fixes ...
12 years ago (2013-02-26 00:11:17 UTC) #3
dave_cheney.net
Personally I don't want to see people relying on go run too much. Its job ...
12 years ago (2013-02-26 00:16:44 UTC) #4
minux1
On Tue, Feb 26, 2013 at 8:16 AM, Dave Cheney <dave@cheney.net> wrote: > Personally I ...
12 years ago (2013-02-26 00:23:38 UTC) #5
minux1
c: +adg.
12 years ago (2013-02-26 16:42:12 UTC) #6
adg
https://codereview.appspot.com/7393063/diff/15001/src/cmd/go/run.go File src/cmd/go/run.go (right): https://codereview.appspot.com/7393063/diff/15001/src/cmd/go/run.go#newcode74 src/cmd/go/run.go:74: fatalf("go run: no suitable source file (cgo disabled?)") If ...
12 years ago (2013-02-26 22:01:10 UTC) #7
dave_cheney.net
SGTM. On Wed, Feb 27, 2013 at 9:01 AM, <adg@golang.org> wrote: > > https://codereview.appspot.com/7393063/diff/15001/src/cmd/go/run.go > ...
12 years ago (2013-02-26 22:57:50 UTC) #8
minux1
PTAL.
12 years ago (2013-02-27 04:30:23 UTC) #9
adg
LGTM
12 years ago (2013-02-27 04:41:50 UTC) #10
rsc
LGTM
12 years ago (2013-02-27 16:37:56 UTC) #11
minux1
12 years ago (2013-02-28 08:07:45 UTC) #12
*** Submitted as https://code.google.com/p/go/source/detail?r=b766c6f23b62 ***

cmd/go: fix "go run" cgo source when cgo is disabled
also move a cgo-depend test to appropriate source file in runtime.

R=golang-dev, dave, adg, rsc
CC=golang-dev
https://codereview.appspot.com/7393063
Sign in to reply to this message.

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