1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:00:07 -07:00
go/doc
Russ Cox 607e020150 cmd/cgo: disable #cgo noescape/nocallback until Go 1.23
Go 1.21 and earlier do not understand this line, causing
"go mod vendor" of //go:build go1.22-tagged code that
uses this feature to fail.

The solution is to include the go/build change to skip over
the line in Go 1.22 (making "go mod vendor" from Go 1.22 onward
work with this change) and then wait to deploy the cgo change
until Go 1.23, at which point Go 1.21 and earlier will be unsupported.

For #56378.
Fixes #63293.

Change-Id: Ifa08b134eac5a6aa15d67dad0851f00e15e1e58b
Reviewed-on: https://go-review.googlesource.com/c/go/+/539235
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-11-02 16:43:23 +00:00
..
asm.html
go1.17_spec.html doc: fix html tags 2023-08-03 14:43:29 +00:00
go1.22.html cmd/cgo: disable #cgo noescape/nocallback until Go 1.23 2023-11-02 16:43:23 +00:00
go_mem.html doc: fix html tags 2023-08-03 14:43:29 +00:00
go_spec.html spec: document range over integer expression 2023-11-02 03:57:56 +00:00
godebug.md doc: add missing space in godebug.md 2023-10-21 03:03:54 +00:00