doc: add release note for cgo error on methods on C types

Change-Id: Ibc5f23f37e5bd45034771a0205eadac3072d6870
Reviewed-on: https://go-review.googlesource.com/c/go/+/499816
TryBot-Bypass: Eli Bendersky <eliben@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Auto-Submit: Eli Bendersky <eliben@google.com>
This commit is contained in:
Eli Bendersky 2023-06-01 06:11:51 -07:00 committed by Gopher Robot
parent 7911f7c21d
commit 5f695f7072
1 changed files with 7 additions and 5 deletions

View File

@ -216,6 +216,13 @@ Do not send CLs removing the interior tags from such phrases.
<!-- cmd/go: make go test build multiple executables; The go test command now supports using the -c flag with multiple packages. --> <!-- cmd/go: make go test build multiple executables; The go test command now supports using the -c flag with multiple packages. -->
</p> </p>
<h3 id="cgo">Cgo</h3>
<p><!-- CL 490819 -->
In files that <code>import "C"</code>, the Go toolchain now
correctly reports errors for attempts to declare Go methods on C types.
</p>
<h2 id="runtime-changes">Runtime</h2> <h2 id="runtime-changes">Runtime</h2>
<p> <p>
@ -280,11 +287,6 @@ Do not send CLs removing the interior tags from such phrases.
such as inlining the callee. such as inlining the callee.
</p> </p>
<!-- CL 490819 -->
<p>
<!-- cmd/cgo: reject attempts to declare methods on C types -->
</p>
<!-- CL 461315 --> <!-- CL 461315 -->
<p> <p>
<!-- cmd/compile: enable deadcode of unreferenced large global maps --> <!-- cmd/compile: enable deadcode of unreferenced large global maps -->