github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/build_runtime_gcflags.txt (about)

     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 runtime/internal/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.* -l .* runtime/internal/atomic'