diff options
Diffstat (limited to 'src/cmd/go/testdata/script/install_cgo_excluded.txt')
-rw-r--r-- | src/cmd/go/testdata/script/install_cgo_excluded.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/script/install_cgo_excluded.txt b/src/cmd/go/testdata/script/install_cgo_excluded.txt new file mode 100644 index 0000000..5a2b460 --- /dev/null +++ b/src/cmd/go/testdata/script/install_cgo_excluded.txt @@ -0,0 +1,15 @@ +env CGO_ENABLED=0 + +! go install cgotest +stderr 'build constraints exclude all Go files' + +-- go.mod -- +module cgotest + +go 1.16 +-- m.go -- +package cgotest + +import "C" + +var _ C.int |