summaryrefslogtreecommitdiff
path: root/src/runtime/compiler.go
blob: 562a4602266decdc6033c0f3f079c73e0abfebd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"