blob: 5354a7393532c3e67f2e2b8df757c7b243bffd88 [file] [log] [blame]
env GO111MODULE=off
# 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.* -l .* runtime/internal/atomic'