We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4497b12 commit 2a129f3Copy full SHA for 2a129f3
doc/go1.21.html
@@ -748,7 +748,12 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
748
</p>
749
750
<p><!-- CL 447778 -->
751
- TODO: <a href="https://go.dev/cl/447778">https://go.dev/cl/447778</a>: runtime: reimplement GODEBUG=cgocheck=2 as a GOEXPERIMENT
+ <code>GODEBUG=cgocheck=2</code>, a thorough checker of cgo pointer passing rules,
752
+ is no longer available as a <a href="/pkg/runtime#hdr-Environment_Variables">debug option</a>.
753
+ Instead, it is available as an experiment using <code>GOEXPERIMENT=cgocheck2</code>.
754
+ In particular this means that this mode has to be selected at build time instead of startup time.
755
+ <p>
756
+ <code>GODEBUG=cgocheck=1</code> is still available (and is still the default).
757
758
759
<p><!-- CL 472195 -->
0 commit comments