]> Cypherpunks repositories - gostls13.git/commit
cmd/go: prohibit C sources files unless using cgo
authorRuss Cox <rsc@golang.org>
Wed, 24 Sep 2014 19:10:38 +0000 (15:10 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 24 Sep 2014 19:10:38 +0000 (15:10 -0400)
commita0785a53add4253db84349d58abbe2ba8be130d9
treeea7ac2acdab39f87605d99153f334cfcf7c28ab5
parent6f219e8b847c731a6c0d3695b74f312a1ea705a5
cmd/go: prohibit C sources files unless using cgo

Those C files would have been compiled with 6c.
It's close to impossible to use C correctly anymore,
and the C compilers are going away eventually.
Make them unavailable now.

go1.4.txt change in CL 145890046

LGTM=iant
R=iant
CC=golang-codereviews, r
https://golang.org/cl/149720043
misc/cgo/test/backdoor/backdoor.go
misc/cgo/test/backdoor/backdoor_gccgo.go [deleted file]
misc/cgo/test/backdoor/runtime.c [deleted file]
misc/cgo/test/issue7695_test.go [deleted file]
src/cmd/go/pkg.go
src/cmd/go/test.bash
src/cmd/go/testdata/src/badc/x.c [new file with mode: 0644]
src/cmd/go/testdata/src/badc/x.go [new file with mode: 0644]
src/net/empty.s [moved from src/net/empty.c with 100% similarity]
src/runtime/debug/debug.s [moved from src/runtime/debug/debug.c with 100% similarity]