]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: strip top-level const qualifier from argument frame struct
authorIan Lance Taylor <iant@golang.org>
Mon, 3 Nov 2025 23:54:39 +0000 (15:54 -0800)
committerGopher Robot <gobot@golang.org>
Fri, 21 Nov 2025 20:40:14 +0000 (12:40 -0800)
commit9772d3a690eabd4a167301b886e18c6ce7b6e4bc
treedd4575dbfcdef5062860667acb766a1cf3df172b
parent1903782ade15293358c983e03db2bf238c5352fa
cmd/cgo: strip top-level const qualifier from argument frame struct

Otherwise we can't assign to it.

Fixes #75751

Change-Id: Iba680db672297bca1a1d1a33912b80863da66a08
Reviewed-on: https://go-review.googlesource.com/c/go/+/717342
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Mark Freeman <markfreeman@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/cgo/internal/test/test.go
src/cmd/cgo/out.go