From: Russ Cox Date: Tue, 6 Mar 2012 03:28:02 +0000 (-0500) Subject: runtime: add Compiler X-Git-Tag: weekly.2012-03-13~203 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4e110af169869b07950fa6aa543f2625021bb3cb;p=gostls13.git runtime: add Compiler R=iant, r, gri CC=golang-dev https://golang.org/cl/5720073 --- diff --git a/src/pkg/runtime/compiler.go b/src/pkg/runtime/compiler.go new file mode 100644 index 0000000000..562a460226 --- /dev/null +++ b/src/pkg/runtime/compiler.go @@ -0,0 +1,13 @@ +// Copyright 2012 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. + +package runtime + +// Compiler is the name of the compiler toolchain that built the +// running binary. Known toolchains are: +// +// gc The 5g/6g/8g compiler suite at code.google.com/p/go. +// gccgo The gccgo front end, part of the GCC compiler suite. +// +const Compiler = "gc"