From b357b05b70d2b8c4988ac2a27f2af176e7a09e1b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 21 Dec 2021 13:58:15 -0800 Subject: [PATCH] doc/go1.18: add section for runtime/debug changes For #37475 For #47694 Change-Id: If8c1f1b756daf32648110f1a669b2ea60f797a24 Reviewed-on: https://go-review.googlesource.com/c/go/+/373875 Trust: Ian Lance Taylor Reviewed-by: Emmanuel Odeke --- doc/go1.18.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/go1.18.html b/doc/go1.18.html index a87e3f45f1e69..4907dd6e2dcae 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -856,6 +856,27 @@

Minor changes to the library

+
runtime/debug
+
+

+ The BuildInfo + struct has two new fields, containing additional information + about how the binary was built: +

    +
  • GoVersion + holds the version of Go used to build the binary. +
  • +
  • + Settings + is a slice of + BuildSettings + structs holding key/value pairs describing the build. +
  • +
+

+
+
+
strconv