diff options
Diffstat (limited to '')
2 files changed, 23 insertions, 0 deletions
diff --git a/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/cgo/README.txt b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/cgo/README.txt new file mode 100644 index 0000000..8bbf9c6 --- /dev/null +++ b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/cgo/README.txt @@ -0,0 +1,7 @@ +Module example.com/cgo is used to test that packages with cgo code +can be loaded without errors when cgo is enabled. + +TODO(jayconrod): test modules with cgo-only and cgo / pure Go implementations +with CGO_ENABLED=0 and 1. But first, decide how multiple platforms and +build constraints should be handled. Currently, gorelease only considers +the same configuration as 'go list'.
\ No newline at end of file diff --git a/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/cgo/cgo.test b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/cgo/cgo.test new file mode 100644 index 0000000..b6cea21 --- /dev/null +++ b/dependencies/pkg/mod/golang.org/x/exp@v0.0.0-20220613132600-b0d781184e0d/cmd/gorelease/testdata/cgo/cgo.test @@ -0,0 +1,16 @@ +base=none +release=v1.0.0 +-- go.mod -- +module example.com/cgo + +go 1.13 +-- c.go -- +package cgo + +// const int x = 12; +import "C" + +func X() int { return int(C.x) } +-- want -- +# summary +v1.0.0 is a valid semantic version for this release. |