github.com/hongwozai/go-src-1.4.3@v0.0.0-20191127132709-dc3fce3dbccb/src/runtime/compiler.go (about)

     1  // Copyright 2012 The Go Authors.  All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package runtime
     6  
     7  // Compiler is the name of the compiler toolchain that built the
     8  // running binary.  Known toolchains are:
     9  //
    10  //	gc      The 5g/6g/8g compiler suite at code.google.com/p/go.
    11  //	gccgo   The gccgo front end, part of the GCC compiler suite.
    12  //
    13  const Compiler = "gc"