]> Cypherpunks repositories - gostls13.git/commitdiff
doc/next: add release note for new toolchain line behavior
authorMichael Matloob <matloob@golang.org>
Wed, 12 Mar 2025 19:14:44 +0000 (15:14 -0400)
committerMichael Matloob <matloob@golang.org>
Thu, 13 Mar 2025 15:02:03 +0000 (08:02 -0700)
The go command will now no longer update the toolchain line implicitly
to the local toolchain version when updating the go line. Document that
in a release note.

For #65847

Change-Id: I4e970d881a43c22292fe9fa65a9835d0214ef7bf
Reviewed-on: https://go-review.googlesource.com/c/go/+/657178
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

doc/next/3-tools.md

index 5b52fe200df088d5a666215c551a7ac54d2f4a62..68017c8def1f88a046cf249db09b11e4f3683881 100644 (file)
@@ -10,5 +10,11 @@ These new error reports may be disabled by setting
 `ASAN_OPTIONS=detect_leaks=0` in the environment when running the
 program.
 
+<!-- go.dev/issue/65847 -->
+
+When the go command updates the `go` line in a `go.mod` or `go.work` file,
+it [no longer](/ref/mod#go-mod-file-toolchain) adds a toolchain line
+specifying the command's current version.
+
 ### Cgo {#cgo}