all: remove GOEXPERIMENT=swissmap

For #54766.

Change-Id: I6a6a636c40b5fe2e8b0d4a5e23933492bc8bb76e
Reviewed-on: https://go-review.googlesource.com/c/go/+/691595
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
Michael Pratt 2025-07-25 15:35:36 -04:00 committed by Gopher Robot
parent cc571dab91
commit 2ae059ccaf
71 changed files with 762 additions and 6140 deletions

View file

@ -12,7 +12,6 @@ import (
"go/token"
"internal/asan"
"internal/goarch"
"internal/goexperiment"
"internal/msan"
"internal/race"
"internal/testenv"
@ -1277,10 +1276,6 @@ var deepEqualPerfTests = []struct {
}
func TestDeepEqualAllocs(t *testing.T) {
// TODO(prattmic): maps on stack
if goexperiment.SwissMap {
t.Skipf("Maps on stack not yet implemented")
}
if asan.Enabled {
t.Skip("test allocates more with -asan; see #70079")
}
@ -7343,7 +7338,8 @@ func TestGCBits(t *testing.T) {
verifyGCBits(t, TypeOf(([][10000]Xscalar)(nil)), lit(1))
verifyGCBits(t, SliceOf(ArrayOf(10000, Tscalar)), lit(1))
testGCBitsMap(t)
// For maps, we don't manually construct GC data, instead using the
// public reflect API in groupAndSlotOf.
}
func rep(n int, b []byte) []byte { return bytes.Repeat(b, n) }