From 34ff24cb4bf4a5c27e6eb474f22a12ef7ea2a22d Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Tue, 17 Mar 2026 15:17:45 +0000 Subject: doc/next: add release notes for enabling stdversion in tests For CL 755240 For #77729 Change-Id: I8e3cd744bce0e7807fb403f0b391a1442a79adcc Reviewed-on: https://go-review.googlesource.com/c/go/+/756040 Reviewed-by: Alan Donovan Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI --- doc/next/3-tools.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/next/3-tools.md b/doc/next/3-tools.md index 5638f240a5..ac7d5c18f8 100644 --- a/doc/next/3-tools.md +++ b/doc/next/3-tools.md @@ -2,5 +2,10 @@ ### Go command {#go-command} +`go test` now invokes the stdversion vet check by default. +This reports the use of standard library symbols that are too new +for the Go version in force in the referring file, +as determined by `go` directive in `go.mod` and build tags on the file. + ### Cgo {#cgo} -- cgit v1.3-5-g9baa