• Russ Cox's avatar
    [dev.cc] cmd/go: fix expansion of 'std', add 'cmd' · 096b294f
    Russ Cox authored
    The wildcard 'std' is defined in documentation to be all the packages
    in the Go standard library. It has also historically matched commands
    in the main repo, but as we implement core commands in Go, that
    becomes problematic. We need a wildcard that means just the library,
    and since 'std' is already documented to have that definition, make it so.
    
    Add a new wildcard 'cmd' for the commands in the main repo ($GOROOT).
    Commands that want both can say 'std cmd' (or 'cmd std') to get the
    effect of the old 'std'.
    
    Update make.bash etc to say both std and cmd most of the time.
    
    Exception: in race.bash, do not install race-enabled versions of
    the actual commands. This avoids trying to write binaries while
    using them, but more importantly it avoids enabling the race
    detector and its associated memory overhead for the already
    memory-hungry compilers.
    
    Change-Id: I26bb06cb13b636dfbe71a015ee0babeb270a0275
    Reviewed-on: https://go-review.googlesource.com/5550
    Run-TryBot: Russ Cox <rsc@golang.org>
    Reviewed-by: 's avatarRob Pike <r@golang.org>
    096b294f
Name
Last commit
Last update
..
archive Loading commit data...
bufio Loading commit data...
builtin Loading commit data...
bytes Loading commit data...
cmd Loading commit data...
compress Loading commit data...
container Loading commit data...
crypto Loading commit data...
database/sql Loading commit data...
debug Loading commit data...
encoding Loading commit data...
errors Loading commit data...
expvar Loading commit data...
flag Loading commit data...
fmt Loading commit data...
go Loading commit data...
hash Loading commit data...
html Loading commit data...
image Loading commit data...
index/suffixarray Loading commit data...
internal/syscall Loading commit data...
io Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
liblink Loading commit data...
log Loading commit data...
math Loading commit data...
mime Loading commit data...
net Loading commit data...
os Loading commit data...
path Loading commit data...
reflect Loading commit data...
regexp Loading commit data...
runtime Loading commit data...
sort Loading commit data...
strconv Loading commit data...
strings Loading commit data...
sync Loading commit data...
syscall Loading commit data...
testing Loading commit data...
text Loading commit data...
time Loading commit data...
unicode Loading commit data...
unsafe Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
androidtest.bash Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
nacltest.bash Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...