mirror of
https://github.com/golang/net.git
synced 2026-03-31 18:37:08 +09:00
internal/http3 was written back in go1.24, and relies on synctest.Run and goexperiment.synctest. This prevents us from running tests with newer versions of Go. This CL updates the existing build constraint and synctest usages to go1.25 so we can still run tests using go1.25 and tip. Support for running synctest with go1.24 is not kept, since go1.26 release (and therefore x/net go.mod updating to go1.25) is expected soon. Change-Id: Iebfa82ebd1da4a06ba613ce0f45051f4691037fc Reviewed-on: https://go-review.googlesource.com/c/net/+/734940 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Nicholas Husin <husin@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>