diff options
author | Andrew Wilkins <axwalk@gmail.com> | 2013-04-10 21:41:54 -0700 |
---|---|---|
committer | Andrew Wilkins <axwalk@gmail.com> | 2013-04-10 21:41:54 -0700 |
commit | 61bb63c4abcdcef55dc08da3e8f3d6c9a4611fdc (patch) | |
tree | 6147a8f63a4e8667524714caf509eb07d18dd06f /misc/cgo/test/cgo_test.go | |
parent | 6a057e8d39b02050715623ad964cb263d5d49095 (diff) | |
download | go-61bb63c4abcdcef55dc08da3e8f3d6c9a4611fdc.tar.gz |
cmd/cgo, cmd/go: remove #cgo directive parsing from cmd/cgo
This change removes processing of #cgo directives from cmd/cgo,
pushing the onus back on cmd/go to pass all necessary flags.
Fixes issue 5224. See comments for rationale.
R=golang-dev, iant, r
CC=golang-dev
https://codereview.appspot.com/8610044
Committer: Rob Pike <r@golang.org>
Diffstat (limited to 'misc/cgo/test/cgo_test.go')
-rw-r--r-- | misc/cgo/test/cgo_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/cgo/test/cgo_test.go b/misc/cgo/test/cgo_test.go index f985996da..56e1a0625 100644 --- a/misc/cgo/test/cgo_test.go +++ b/misc/cgo/test/cgo_test.go @@ -38,5 +38,6 @@ func Test3775(t *testing.T) { test3775(t) } func TestCthread(t *testing.T) { testCthread(t) } func TestCallbackCallers(t *testing.T) { testCallbackCallers(t) } func Test5227(t *testing.T) { test5227(t) } +func TestCflags(t *testing.T) { testCflags(t) } func BenchmarkCgoCall(b *testing.B) { benchCgoCall(b) } |