internal/gocore: remove Process.minorVersion

An explicit minor version number was added fairly recently in It seems like a nice simplification, but it
complicates working with devel builds significantly.

In particular, tests running via the coordinator ( 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
Run-TryBot: Michael Pratt <>
Reviewed-by: Keith Randall <>
Reviewed-by: Keith Randall <>
Auto-Submit: Michael Pratt <>
TryBot-Result: Gopher Robot <>
3 files changed
tree: dfdca9558ccc30a56d30b4b8d28254a60bfe9c3f
  1. cmd/
  2. dwtest/
  3. internal/
  4. codereview.cfg
  6. go.mod
  7. go.sum

Go Debug

Go Reference

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.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see

The main issue tracker for the debug repository is located at Prefix your issue with “x/debug:” in the subject line, so it is easy to find.