diff --git a/src/cmd/go/main.go b/src/cmd/go/main.go index 7b7f4a450dd..2709750fcce 100644 --- a/src/cmd/go/main.go +++ b/src/cmd/go/main.go @@ -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