From 1d4f0e7e6aa5afb0b7ca1e92f4578ca6fa0ec84f Mon Sep 17 00:00:00 2001 From: Laurent Demailly Date: Tue, 16 Jul 2024 17:59:13 -0700 Subject: [PATCH] review comment, use the runtime.Compiler constant --- src/runtime/debug/debug.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/debug/debug.go b/src/runtime/debug/debug.go index 931929d841..8b6a8b8a55 100644 --- a/src/runtime/debug/debug.go +++ b/src/runtime/debug/debug.go @@ -29,7 +29,7 @@ func Stack() []byte { // // Not implemented. func ReadBuildInfo() (info *BuildInfo, ok bool) { - return &BuildInfo{GoVersion: "tinygo" + runtime.Version()}, true + return &BuildInfo{GoVersion: runtime.Compiler + runtime.Version()}, true } // BuildInfo represents the build information read from