github.com/zxy12/go_duplicate_112_new@v0.0.0-20200807091221-747231827200/src/cmd/go/testdata/script/build_runtime_gcflags.txt (about) 1 # Set up fresh GOCACHE. 2 env GOCACHE=$WORK/gocache 3 mkdir $GOCACHE 4 5 # Verify the standard library (specifically runtime/internal/atomic) can be 6 # built with -gcflags when -n is given. See golang.org/issue/29346. 7 go build -n -gcflags=all='-l' std 8 stderr 'compile.* -l .* runtime/internal/atomic'