Debian Codegraph @

src/cmd/go/testdata/script/build_runtime_gcflags.txt

raw
1 env GO111MODULE=off
2 [short] skip # rebuilds all of std
3
4 # Set up fresh GOCACHE.
5 env GOCACHE=$WORK/gocache
6 mkdir $GOCACHE
7
8 # Verify the standard library (specifically internal/runtime/atomic) can be
9 # built with -gcflags when -n is given. See golang.org/issue/29346.
10 go build -n -gcflags=all='-l' std
11 stderr 'compile.* internal/runtime/atomic .* -l'