Skip to content

Conversation

stefanb
Copy link
Owner

@stefanb stefanb commented Jun 19, 2025

stefanb added 2 commits June 19, 2025 19:49
The build error with Go 1.25 manifests as:

go1.25rc1 build ./...
# golang.org/x/tools/internal/tokeninternal
../../../go/pkg/mod/golang.org/x/tools@v0.13.0/internal/tokeninternal/tokeninternal.go:78:9: invalid array length -delta * delta (constant -256 of type int64)

go1.25rc1 get -u golang.org/x/tools
go: upgraded go 1.19 => 1.23.0
go: upgraded golang.org/x/crypto v0.21.0 => v0.39.0
go: upgraded golang.org/x/mod v0.12.0 => v0.25.0
go: upgraded golang.org/x/net v0.23.0 => v0.41.0
go: upgraded golang.org/x/sync v0.3.0 => v0.15.0
go: upgraded golang.org/x/sys v0.20.0 => v0.33.0
go: upgraded golang.org/x/term v0.18.0 => v0.32.0
go: upgraded golang.org/x/text v0.14.0 => v0.26.0
go: upgraded golang.org/x/tools v0.13.0 => v0.34.0

go1.25rc1 mod tidy

Related:
* Go proposal: golang/go#73205
* Upstream `golang.org/x/tools` fix: https://go-review.googlesource.com/c/tools/+/675955 / golang/tools@2815c8b
* Problem found in Homebrew/homebrew-core#226636
@stefanb stefanb changed the title Update golang.org/x/tools to v0.34.0 for Go 1.25 compatibility TEST: Update golang.org/x/tools to v0.34.0 for Go 1.25 compatibility Jun 19, 2025
@stefanb stefanb closed this Jun 19, 2025
@stefanb stefanb reopened this Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant