summaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.18/src/runtime/compiler.go
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/go/_std_1.18/src/runtime/compiler.go')
-rw-r--r--contrib/go/_std_1.18/src/runtime/compiler.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/go/_std_1.18/src/runtime/compiler.go b/contrib/go/_std_1.18/src/runtime/compiler.go
new file mode 100644
index 00000000000..1ebc62dea19
--- /dev/null
+++ b/contrib/go/_std_1.18/src/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 Also known as cmd/compile.
+// gccgo The gccgo front end, part of the GCC compiler suite.
+//
+const Compiler = "gc"