]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix build (piece of 5489100 leaked in to last checkin)
authorRuss Cox <rsc@golang.org>
Wed, 21 Dec 2011 13:05:04 +0000 (08:05 -0500)
committerRuss Cox <rsc@golang.org>
Wed, 21 Dec 2011 13:05:04 +0000 (08:05 -0500)
TBR=golang-dev
CC=golang-dev
https://golang.org/cl/5489102

src/cmd/go/main.go

index 7b7f4a450dd77b07f585f20f070bb21ca8696065..2709750fcce67f914ddc69df36e50c4134d0ce18 100644 (file)
@@ -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