From 4e110af169869b07950fa6aa543f2625021bb3cb Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 5 Mar 2012 22:28:02 -0500 Subject: [PATCH] runtime: add Compiler R=iant, r, gri CC=golang-dev https://golang.org/cl/5720073 --- src/pkg/runtime/compiler.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/pkg/runtime/compiler.go 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" -- 2.48.1