|author||Michael Pratt <firstname.lastname@example.org>||Wed Aug 31 16:24:14 2022 -0400|
|committer||Gopher Robot <email@example.com>||Tue Sep 06 21:51:00 2022 +0000|
internal/gocore: remove Process.minorVersion An explicit minor version number was added fairly recently in https://go.dev/cl/321736. It seems like a nice simplification, but it complicates working with devel builds significantly. In particular, tests running via the coordinator (build.golang.org) have no discernable version, just "devel SHA1", breaking version parsing, and making it impossible to add a test for dynamically generated core files. Thus, we drop minorVersion and revert back to feature tests via the type system. There are two exceptions (both from 1.17) where the type system isn't sufficient to differentiate the specific features, so unfortunately we still need a heuristic to detect 1.17. Change-Id: I5f98418833ee4742f1fe84de10865e133c9866f6 Reviewed-on: https://go-review.googlesource.com/c/debug/+/427214 Run-TryBot: Michael Pratt <firstname.lastname@example.org> Reviewed-by: Keith Randall <email@example.com> Reviewed-by: Keith Randall <firstname.lastname@example.org> Auto-Submit: Michael Pratt <email@example.com> TryBot-Result: Gopher Robot <firstname.lastname@example.org>
This repository holds utilities and libraries for debugging Go programs.
WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the debug repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/debug:” in the subject line, so it is easy to find.