From 5f695f7072848e425289ca94bc460da813de66da Mon Sep 17 00:00:00 2001
From: Eli Bendersky
Date: Thu, 1 Jun 2023 06:11:51 -0700
Subject: [PATCH] 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
---
doc/go1.21.html | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
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.
-
-
-
-
-
--
2.44.0