You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
garble/testdata/script
Daniel Martí b5d90cb1bd expose cgo issue 916
Seems to happen when the main package only has Go files importing "C",
meaning that it has zero "pure Go" files.

To avoid needing two main package Go builds for cgo.txtar,
switch our main package to this scenario as it seems more interesting.

While here, add a test case for a Go callback function taking a C param
as that is relatively common and we had no coverage for it.

This only reproduces the bug; the fix is coming separately.

For #916.
6 months ago
..
asm.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
atomic.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
basic.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
cache.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
cgo.txtar expose cgo issue 916 6 months ago
crossbuild.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
ctrlflow.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
debugdir.txtar refuse to delete unknown files with -debugdir 6 months ago
embed.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
goenv.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
gogarble.txtar clarify and test that runtime.GOROOT is not available 11 months ago
gotoolchain.txtar make gotoolchain.txtar upgrade to the host's GOVERSION 6 months ago
goversion.txtar drop support for Go 1.23 6 months ago
help.txtar rely on `go build` stamping a version for local builds 6 months ago
implement.txtar hash structs via the bundled and altered typeutil.hash 9 months ago
imports.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
init.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
ldflags.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
linker.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
linkname.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
list_error.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
literals.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
modinfo.txtar bump unsupportedGo to mark Go 1.24 as supported 8 months ago
plugin.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
position.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
reflect.txtar obfuscate all names used in reflection 11 months ago
reverse.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
run.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
seed-cache.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
seed.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
syntax.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
test.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
tiny.txtar drop Go 1.22 and require Go 1.23.0 or later (#876) 11 months ago
typeparams.txtar skip all type parameters in recordType 9 months ago