...

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

Documentation: cmd/go/testdata/script

     1[short] skip
     2[!cgo] skip
     3
     4[GOOS:solaris] skip "skipping on Solaris; see golang.org/issue/13247"
     5[GOOS:illumos] skip "skipping on Solaris; see golang.org/issue/13247"
     6
     7go build -o $WORK/exe1$GOEXE cgotest
     8go build -x -o $WORK/exe2$GOEXE cgotest
     9
    10# TODO(matloob): skip if stderr does not contain '-fdebug-prefix-map=\$WORK'
    11
    12cmp $WORK/exe1$GOEXE $WORK/exe2$GOEXE
    13
    14-- go.mod --
    15module cgotest
    16
    17go 1.16
    18-- m.go --
    19package cgotest
    20
    21import "C"
    22
    23var _ C.int

View as plain text