mirror of
https://github.com/golang/go
synced 2024-11-25 10:07:56 -07:00
cmd/go: fix build (piece of 5489100 leaked in to last checkin)
TBR=golang-dev CC=golang-dev https://golang.org/cl/5489102
This commit is contained in:
parent
6645602c0b
commit
0fcb24b91c
@ -242,9 +242,11 @@ func allPackages(what string) []string {
|
||||
have := map[string]bool{
|
||||
"builtin": true, // ignore pseudo-package that exists only for documentation
|
||||
}
|
||||
if !build.DefaultContext.CgoEnabled {
|
||||
have["runtime/cgo"] = true // ignore during walk
|
||||
}
|
||||
/*
|
||||
if !build.DefaultContext.CgoEnabled {
|
||||
have["runtime/cgo"] = true // ignore during walk
|
||||
}
|
||||
*/
|
||||
var pkgs []string
|
||||
|
||||
// Commands
|
||||
|
Loading…
Reference in New Issue
Block a user