]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: don't depend on runtime/cgo if !CgoEnabled
authorIan Lance Taylor <iant@golang.org>
Thu, 10 Nov 2016 23:19:11 +0000 (15:19 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 10 Nov 2016 23:58:25 +0000 (23:58 +0000)
commit7bdb77af5fea5b94cf3d5d7840ca9162e76b3e9b
tree335a75174b69b8249e158fc774cae4a5d2d235da
parent35ea53dcc8d8350898250e87a0b5ffa03e14173e
cmd/cgo: don't depend on runtime/cgo if !CgoEnabled

Fixes the build when CGO_ENABLED=0.

Change-Id: I7f3c67d61e156e69536558fda0a0a4b429b82bbd
Reviewed-on: https://go-review.googlesource.com/33104
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/pkg.go