aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug/debug.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-24 15:10:38 -0400
committerRuss Cox <rsc@golang.org>2014-09-24 15:10:38 -0400
commita0785a53add4253db84349d58abbe2ba8be130d9 (patch)
treeea7ac2acdab39f87605d99153f334cfcf7c28ab5 /src/runtime/debug/debug.c
parent6f219e8b847c731a6c0d3695b74f312a1ea705a5 (diff)
downloadgo-a0785a53add4253db84349d58abbe2ba8be130d9.tar.xz
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
Diffstat (limited to 'src/runtime/debug/debug.c')
-rw-r--r--src/runtime/debug/debug.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/runtime/debug/debug.c b/src/runtime/debug/debug.c
deleted file mode 100644
index a7292c477b..0000000000
--- a/src/runtime/debug/debug.c
+++ /dev/null
@@ -1,9 +0,0 @@
-// Copyright 2013 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Nothing to see here.
-// This file exists so that the go command knows that parts of the
-// package are implemented in C, so that it does not instruct the
-// Go compiler to complain about extern declarations.
-// The actual implementations are in package runtime.