mirror of
https://github.com/golang/go
synced 2024-11-22 10:34:46 -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{
|
have := map[string]bool{
|
||||||
"builtin": true, // ignore pseudo-package that exists only for documentation
|
"builtin": true, // ignore pseudo-package that exists only for documentation
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
if !build.DefaultContext.CgoEnabled {
|
if !build.DefaultContext.CgoEnabled {
|
||||||
have["runtime/cgo"] = true // ignore during walk
|
have["runtime/cgo"] = true // ignore during walk
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
var pkgs []string
|
var pkgs []string
|
||||||
|
|
||||||
// Commands
|
// Commands
|
||||||
|
Loading…
Reference in New Issue
Block a user