aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/compiler.go
blob: 47e80b15ff0141aafb4791169dba307329a92d7b (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      Also known as cmd/compile.
//	gccgo   The gccgo front end, part of the GCC compiler suite.
//
const Compiler = "gc"