blob: 31695b1772fa23ca01486e7b0ddbfd91f461c802 [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 internal/runtime/atomic) can be
# built with -gcflags when -n is given. See golang.org/issue/29346.
go build -n -gcflags=all='-l' std
stderr 'compile.* internal/runtime/atomic .* -l'