-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
👋 Build problem found downstream in Homebrew (I am a maintainer):
Confirmed locally via simple go build command inside this repository:
$ go1.26rc1 build ./...
# vitess.io/vitess/go/hack
go/hack/ensure_swiss_map.go:39:38: invalid array length -1 (untyped int constant)
The Swiss-maps-ensuring Go build flag:
vitess/go/hack/ensure_swiss_map.go
Line 1 in b3666b2
| //go:build !goexperiment.swissmap |
is no longer good enough for Go 1.26, as in Go 1.26 and later Swiss maps are enabled by default and there is no more
GOEXPERIMENT=noswissmap nor GOEXPERIMENT=swissmap flag either.
See:
Metadata
Metadata
Assignees
Labels
No labels