From 25816d401c459a9dfedded3b42315a8bd2d32802 Mon Sep 17 00:00:00 2001 From: Cherry Mui Date: Mon, 30 Jun 2025 17:34:01 -0400 Subject: internal/goexperiment: delete RangeFunc goexperiment It is now always enabeld. The GOEXPERIMENT doesn't control anything. Remove. Change-Id: I50eb09f4537f90ec28152eb59a5a689127843fce Reviewed-on: https://go-review.googlesource.com/c/go/+/684838 Reviewed-by: Michael Knyszek LUCI-TryBot-Result: Go LUCI --- src/runtime/testdata/testprog/coro.go | 2 -- src/runtime/testdata/testprogcgo/coro.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src/runtime/testdata') diff --git a/src/runtime/testdata/testprog/coro.go b/src/runtime/testdata/testprog/coro.go index 032215b801..5f3d302987 100644 --- a/src/runtime/testdata/testprog/coro.go +++ b/src/runtime/testdata/testprog/coro.go @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build goexperiment.rangefunc - package main import ( diff --git a/src/runtime/testdata/testprogcgo/coro.go b/src/runtime/testdata/testprogcgo/coro.go index e0cb945112..93be92cb7a 100644 --- a/src/runtime/testdata/testprogcgo/coro.go +++ b/src/runtime/testdata/testprogcgo/coro.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build goexperiment.rangefunc && !windows +//go:build !windows package main -- cgit v1.3