blob: c87e480911933a6211fd31991cbf17ec2e75da44 [file] [log] [blame]
env GO111MODULE=off
[short] skip # rebuilds all of std
# Set up fresh GOCACHE.
env GOCACHE=$WORK/gocache
mkdir $GOCACHE
# Verify the standard library (specifically runtime/internal/atomic) can be
# built with -gcflags when -n is given. See golang.org/issue/29346.
go build -n -gcflags=all='-l' std
stderr 'compile.* runtime/internal/atomic .* -l'