...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2
     3# golang.org/issue/35759: 'go list -linkshared'
     4# panicked if invoked on a test-only package.
     5
     6[!buildmode:shared] skip
     7
     8go list -f '{{.ImportPath}}: {{.Target}} {{.Shlib}}' -linkshared .
     9stdout '^example.com:  $'
    10
    11-- go.mod --
    12module example.com
    13
    14go 1.14
    15-- x.go --
    16package x

View as plain text