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

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

View as plain text