...

Text file src/cmd/go/testdata/script/install_cgo_excluded.txt

Documentation: cmd/go/testdata/script

     1env CGO_ENABLED=0
     2
     3! go install cgotest
     4stderr 'build constraints exclude all Go files'
     5
     6-- go.mod --
     7module cgotest
     8
     9go 1.16
    10-- m.go --
    11package cgotest
    12
    13import "C"
    14
    15var _ C.int

View as plain text