From 2a129f3e8a0e3701e92fec0d7fde68d648e0cab9 Mon Sep 17 00:00:00 2001
From: Keith Randall
- TODO: https://go.dev/cl/447778: runtime: reimplement GODEBUG=cgocheck=2 as a GOEXPERIMENT
+ GODEBUG=cgocheck=2
, a thorough checker of cgo pointer passing rules,
+ is no longer available as a debug option.
+ Instead, it is available as an experiment using GOEXPERIMENT=cgocheck2
.
+ In particular this means that this mode has to be selected at build time instead of startup time.
+
+ GODEBUG=cgocheck=1
is still available (and is still the default).
-- 2.50.0