Skip to content

Commit

Permalink
review comment, use the runtime.Compiler constant
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Jul 17, 2024
1 parent 11ffebb commit 1d4f0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/debug/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1d4f0e7

Please sign in to comment.