...

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

Documentation: cmd/go/testdata/script

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

View as plain text