Skip to content

Commit 86963b4

Browse files
cuonglmgopherbot
authored andcommitted
doc: add release note for cgo.Incomplete
Updates #46731 Change-Id: Ie64e87d759c48642582342d221b24f77bb81d47a Reviewed-on: https://go-review.googlesource.com/c/go/+/453556 Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> Reviewed-by: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
1 parent cc1771e commit 86963b4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

doc/go1.20.html

+9-2
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,15 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
10091009
</dd>
10101010
</dl><!-- regexp -->
10111011

1012+
<dl id="runtime/cgo"><dt><a href="/pkg/runtime/cgo/">runtime/cgo</a></dt>
1013+
<dd>
1014+
<p><!-- https://go.dev/issue/46731 -->
1015+
Go 1.20 adds new <a href="/pkg/runtime/cgo/#Incomplete"><code>Incomplete</code></a> marker type.
1016+
Code generated by cgo will use <code>cgo.Incomplete</code> to mark an incomplete C type.
1017+
</p>
1018+
</dd>
1019+
</dl><!-- runtime/cgo -->
1020+
10121021
<dl id="runtime/metrics"><dt><a href="/pkg/runtime/metrics/">runtime/metrics</a></dt>
10131022
<dd>
10141023
<p><!-- https://go.dev/issue/47216, https://go.dev/issue/49881 -->
@@ -1155,8 +1164,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
11551164
<!-- https://go.dev/issue/55358 x/exp/slices -->
11561165
<!-- https://go.dev/issue/54714 x/sys/unix -->
11571166
<!-- https://go.dev/issue/50035 https://go.dev/issue/54237 x/time/rate -->
1158-
<!-- CL 421879: cmd/cgo: add and use runtime/cgo.Incomplete instead of //go:notinheap -->
1159-
<!-- https://go.dev/issue/46731: replace `//go:notinheap` with runtime/internal/sys.NotInHeap -->
11601167
<!-- CL 345488 strconv optimization -->
11611168
<!-- CL 428757 reflect deprecation, rolled back -->
11621169
<!-- https://go.dev/issue/49390 compile -l -N is fully supported -->

0 commit comments

Comments
 (0)