]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: update outdated docs about cgocheck2
authorKévin Dunglas <kevin@dunglas.fr>
Sat, 30 Mar 2024 09:13:39 +0000 (09:13 +0000)
committerEmmanuel Odeke <emmanuel@orijtech.com>
Sun, 31 Mar 2024 09:02:45 +0000 (09:02 +0000)
commitd49a14c6092ba30d0afbdaa06a24016ff1fe2a82
treeb2505d7c54cf1f9ac13077b381efe4b3008e3561
parentba9c445f166b573873f9cf891cec5f170fa3c359
cmd/cgo: update outdated docs about cgocheck2

Setting GODEBUG=cgocheck=2 now panics with a message
such as "fatal error: cgocheck > 1 mode is no longer supported at runtime.
Use GOEXPERIMENT=cgocheck2 at build time instead."

Change-Id: If9a5a96933973e14a1a60b8e9fb6a1f4a818cf59
GitHub-Last-Rev: 787d62454c31565d0828777bf5ba24c99345af4d
GitHub-Pull-Request: golang/go#65224
Reviewed-on: https://go-review.googlesource.com/c/go/+/557597
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/cgo/doc.go