From: Eli Bendersky Date: Thu, 1 Jun 2023 13:11:51 +0000 (-0700) Subject: doc: add release note for cgo error on methods on C types X-Git-Tag: go1.21rc1~143 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5f695f7072848e425289ca94bc460da813de66da;p=gostls13.git 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 Reviewed-by: Eli Bendersky Reviewed-by: Alan Donovan Auto-Submit: Eli Bendersky --- diff --git a/doc/go1.21.html b/doc/go1.21.html index 9c1383a16f..78977a173d 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -216,6 +216,13 @@ Do not send CLs removing the interior tags from such phrases.

+

Cgo

+ +

+ In files that import "C", the Go toolchain now + correctly reports errors for attempts to declare Go methods on C types. +

+

Runtime

@@ -280,11 +287,6 @@ Do not send CLs removing the interior tags from such phrases. such as inlining the callee.

- -

- -

-