all: update golang.org/x/tools

This has the following effects:

  * It fixes issue #5414.
  * It bumps the minimum Go version to Go 1.24 (from 1.23).

I looked, and there doesn't seem to be a version of golang.org/x/tools
that supports the improved `new` builtin without also bumping the
minimum Go version.
This commit is contained in:
Ayke van Laethem
2026-05-27 10:22:38 +02:00
committed by Ron Evans
parent c698eeacba
commit fb8ed8fde8
4 changed files with 19 additions and 20 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
}
// Version range supported by TinyGo.
const minorMin = 19
const minorMin = 24 // when updating the min version, also update .github/workflows/compat.yml
const minorMax = 26
// Check that we support this Go toolchain version.