2016-03-01 15:57:46 -07:00
|
|
|
// Copyright 2012 The Go Authors. All rights reserved.
|
2012-03-05 20:28:02 -07:00
|
|
|
// 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
|
2016-03-01 16:21:55 -07:00
|
|
|
// running binary. Known toolchains are:
|
2012-03-05 20:28:02 -07:00
|
|
|
//
|
2015-06-23 17:50:12 -06:00
|
|
|
// gc Also known as cmd/compile.
|
2012-03-05 20:28:02 -07:00
|
|
|
// gccgo The gccgo front end, part of the GCC compiler suite.
|
|
|
|
//
|
|
|
|
const Compiler = "gc"
|